aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/infcover.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/infcover.c b/test/infcover.c
index 8912c40..da774b5 100644
--- a/test/infcover.c
+++ b/test/infcover.c
@@ -185,7 +185,7 @@ local void mem_used(z_stream *strm, char *prefix)
185{ 185{
186 struct mem_zone *zone = strm->opaque; 186 struct mem_zone *zone = strm->opaque;
187 187
188 fprintf(stderr, "%s: %lu allocated\n", prefix, zone->total); 188 fprintf(stderr, "%s: %zu allocated\n", prefix, zone->total);
189} 189}
190 190
191/* show the high water allocation in bytes */ 191/* show the high water allocation in bytes */
@@ -193,7 +193,7 @@ local void mem_high(z_stream *strm, char *prefix)
193{ 193{
194 struct mem_zone *zone = strm->opaque; 194 struct mem_zone *zone = strm->opaque;
195 195
196 fprintf(stderr, "%s: %lu high water mark\n", prefix, zone->highwater); 196 fprintf(stderr, "%s: %zu high water mark\n", prefix, zone->highwater);
197} 197}
198 198
199/* release the memory allocation zone -- if there are any surprises, notify */ 199/* release the memory allocation zone -- if there are any surprises, notify */
@@ -218,7 +218,7 @@ local void mem_done(z_stream *strm, char *prefix)
218 218
219 /* issue alerts about anything unexpected */ 219 /* issue alerts about anything unexpected */
220 if (count || zone->total) 220 if (count || zone->total)
221 fprintf(stderr, "** %s: %lu bytes in %d blocks not freed\n", 221 fprintf(stderr, "** %s: %zu bytes in %d blocks not freed\n",
222 prefix, zone->total, count); 222 prefix, zone->total, count);
223 if (zone->notlifo) 223 if (zone->notlifo)
224 fprintf(stderr, "** %s: %d frees not LIFO\n", prefix, zone->notlifo); 224 fprintf(stderr, "** %s: %d frees not LIFO\n", prefix, zone->notlifo);