aboutsummaryrefslogtreecommitdiffstats
path: root/libparc/parc/testing
diff options
context:
space:
mode:
Diffstat (limited to 'libparc/parc/testing')
-rwxr-xr-xlibparc/parc/testing/parc_MemoryTesting.c8
-rwxr-xr-xlibparc/parc/testing/parc_MemoryTesting.h9
2 files changed, 16 insertions, 1 deletions
diff --git a/libparc/parc/testing/parc_MemoryTesting.c b/libparc/parc/testing/parc_MemoryTesting.c
index 9a7b49fa..5d53a877 100755
--- a/libparc/parc/testing/parc_MemoryTesting.c
+++ b/libparc/parc/testing/parc_MemoryTesting.c
@@ -21,8 +21,16 @@
#include <parc/testing/parc_MemoryTesting.h>
#include <parc/algol/parc_Memory.h>
+
+
+#if INTPTR_MAX == INT32_MAX
bool
parcMemoryTesting_ExpectedOutstanding(const uint32_t expected, const char *format, ...)
+#else
+bool
+parcMemoryTesting_ExpectedOutstanding(const uint64_t expected, const char *format, ...)
+#endif
+
{
bool result = true;
diff --git a/libparc/parc/testing/parc_MemoryTesting.h b/libparc/parc/testing/parc_MemoryTesting.h
index 32b139db..9ac6889d 100755
--- a/libparc/parc/testing/parc_MemoryTesting.h
+++ b/libparc/parc/testing/parc_MemoryTesting.h
@@ -43,5 +43,12 @@
* }
* @endcode
*/
-bool parcMemoryTesting_ExpectedOutstanding(const uint32_t expected, const char *format, ...);
+
+#if INTPTR_MAX == INT32_MAX
+bool
+parcMemoryTesting_ExpectedOutstanding(const uint32_t expected, const char *format, ...);
+#else
+bool
+parcMemoryTesting_ExpectedOutstanding(const uint64_t expected, const char *format, ...);
#endif
+#endif \ No newline at end of file