aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example.c b/test/example.c
index 138a699..e05bc2e 100644
--- a/test/example.c
+++ b/test/example.c
@@ -432,7 +432,7 @@ void test_sync(compr, comprLen, uncompr, uncomprLen)
432 d_stream.next_out = uncompr; 432 d_stream.next_out = uncompr;
433 d_stream.avail_out = (uInt)uncomprLen; 433 d_stream.avail_out = (uInt)uncomprLen;
434 434
435 inflate(&d_stream, Z_NO_FLUSH); 435 err = inflate(&d_stream, Z_NO_FLUSH);
436 CHECK_ERR(err, "inflate"); 436 CHECK_ERR(err, "inflate");
437 437
438 d_stream.avail_in = (uInt)comprLen-2; /* read all compressed data */ 438 d_stream.avail_in = (uInt)comprLen-2; /* read all compressed data */