From: Mika Lindqvist Date: Fri, 17 Feb 2017 13:01:24 +0000 (+0200) Subject: test/example.c: Don't mix unsigned long and size_t. X-Git-Tag: 1.9.9-b1~673 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea4113f441f860d9ce469db5ebda6ca40cffd484;p=thirdparty%2Fzlib-ng.git test/example.c: Don't mix unsigned long and size_t. --- diff --git a/test/example.c b/test/example.c index 604e13b9f..4352e66c9 100644 --- a/test/example.c +++ b/test/example.c @@ -72,12 +72,12 @@ void test_compress(unsigned char *compr, size_t comprLen, unsigned char *uncompr #ifdef WITH_GZFILEOP void test_gzio (const char *fname, - unsigned char *uncompr, unsigned long uncomprLen); + unsigned char *uncompr, size_t uncomprLen); /* =========================================================================== * Test read/write of .gz files */ -void test_gzio(const char *fname, unsigned char *uncompr, unsigned long uncomprLen) +void test_gzio(const char *fname, unsigned char *uncompr, size_t uncomprLen) { #ifdef NO_GZCOMPRESS fprintf(stderr, "NO_GZCOMPRESS -- gz* functions cannot compress\n");