From 4ca984fb447ac57120c394cf2fbba23837ed31c2 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 9 Sep 2011 23:03:14 -0700 Subject: zlib 0.8 --- inftest.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'inftest.c') diff --git a/inftest.c b/inftest.c index 7dc2907..d711bfa 100644 --- a/inftest.c +++ b/inftest.c @@ -2,6 +2,8 @@ #include #include "zutil.h" +void main __P((void)); + /* This test is in honor of Ed Hamrick who suggested that the interface to inflate be a byte at a time--this implements that, and is, of course, monumentally slow. It has the virtue though of stressing the push-pull @@ -61,7 +63,7 @@ void main() break; } inflateEnd(&z); - fprintf(stderr, "%d bytes in, %d bytes out\n", z.total_in, z.total_out); + fprintf(stderr, "%ld bytes in, %ld bytes out\n", z.total_in, z.total_out); if (z.msg != NULL) fprintf(stderr, "msg is <%s>\n", z.msg); } -- cgit v1.2.3-55-g6feb