diff options
Diffstat (limited to 'inftest.c')
-rw-r--r-- | inftest.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2,6 +2,8 @@ | |||
2 | #include <stdlib.h> | 2 | #include <stdlib.h> |
3 | #include "zutil.h" | 3 | #include "zutil.h" |
4 | 4 | ||
5 | void main __P((void)); | ||
6 | |||
5 | /* This test is in honor of Ed Hamrick who suggested that the interface | 7 | /* This test is in honor of Ed Hamrick who suggested that the interface |
6 | to inflate be a byte at a time--this implements that, and is, of course, | 8 | to inflate be a byte at a time--this implements that, and is, of course, |
7 | monumentally slow. It has the virtue though of stressing the push-pull | 9 | monumentally slow. It has the virtue though of stressing the push-pull |
@@ -61,7 +63,7 @@ void main() | |||
61 | break; | 63 | break; |
62 | } | 64 | } |
63 | inflateEnd(&z); | 65 | inflateEnd(&z); |
64 | fprintf(stderr, "%d bytes in, %d bytes out\n", z.total_in, z.total_out); | 66 | fprintf(stderr, "%ld bytes in, %ld bytes out\n", z.total_in, z.total_out); |
65 | if (z.msg != NULL) | 67 | if (z.msg != NULL) |
66 | fprintf(stderr, "msg is <%s>\n", z.msg); | 68 | fprintf(stderr, "msg is <%s>\n", z.msg); |
67 | } | 69 | } |