diff options
Diffstat (limited to 'test/example.c')
-rw-r--r-- | test/example.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/example.c b/test/example.c index 5dc8290..821cfb8 100644 --- a/test/example.c +++ b/test/example.c @@ -928,6 +928,7 @@ void test_deflate_set_header(unsigned char *compr, size_t comprLen) { if (err == Z_OK) { printf("deflateSetHeader(): OK\n"); } + PREFIX(deflateBound)(&c_stream, (unsigned long)comprLen); c_stream.next_in = (unsigned char *)hello; c_stream.next_out = compr; |