summaryrefslogtreecommitdiff
path: root/test/yajl_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/yajl_test.c')
-rw-r--r--test/yajl_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/yajl_test.c b/test/yajl_test.c
index d669ca4..5c373d0 100644
--- a/test/yajl_test.c
+++ b/test/yajl_test.c
@@ -26,8 +26,8 @@
/* memory debugging routines */
typedef struct
{
- size_t numFrees;
- size_t numMallocs;
+ unsigned int numFrees;
+ unsigned int numMallocs;
/* XXX: we really need a hash table here with per-allocation
* information */
} yajlTestMemoryContext;
@@ -275,7 +275,7 @@ main(int argc, char ** argv)
*/
fflush(stderr);
fflush(stdout);
- printf("memory leaks:\t%zu\n", memCtx.numMallocs - memCtx.numFrees);
+ printf("memory leaks:\t%u\n", memCtx.numMallocs - memCtx.numFrees);
return 0;
}