diff options
Diffstat (limited to 'src/t-test0.c')
-rw-r--r-- | src/t-test0.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/t-test0.c b/src/t-test0.c index ed03554..034ca6e 100644 --- a/src/t-test0.c +++ b/src/t-test0.c @@ -165,7 +165,7 @@ mem_init(unsigned char *ptr, unsigned long size) if(size == 0) return; #if TEST > 3 - memset(ptr, '\0', size); + memset(ptr, 0, size); #endif for(i=0; i<size; i+=2047) { j = (unsigned long)ptr ^ i; @@ -389,7 +389,7 @@ malloc_test(unsigned long size, int bins, int max) #endif actions = RANDOM(&ld, ACTIONS_MAX); #if USE_MALLOC && MALLOC_DEBUG - if(actions < 2) { mallinfo(); } + if(actions < 2) { mallinfo2(); } #endif for(j=0; j<actions; j++) { b = RANDOM(&ld, p.bins); |