summaryrefslogtreecommitdiff
path: root/inftest.c
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:03:14 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:03:14 -0700
commit4ca984fb447ac57120c394cf2fbba23837ed31c2 (patch)
tree3525a9d186dbb328209747e2d57cb9642ebca0fd /inftest.c
parent913afb9174bb474104049906c1382dec81826424 (diff)
downloadzlib-0.8.tar.gz
zlib-0.8.tar.bz2
zlib-0.8.zip
zlib 0.8v0.8
Diffstat (limited to 'inftest.c')
-rw-r--r--inftest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/inftest.c b/inftest.c
index 7dc2907..d711bfa 100644
--- a/inftest.c
+++ b/inftest.c
@@ -2,6 +2,8 @@
2#include <stdlib.h> 2#include <stdlib.h>
3#include "zutil.h" 3#include "zutil.h"
4 4
5void 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}