]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
test/example.c: Don't mix unsigned long and size_t.
authorMika Lindqvist <postmaster@raasu.org>
Fri, 17 Feb 2017 13:01:24 +0000 (15:01 +0200)
committerHans Kristian Rosbach <hk-git@circlestorm.org>
Thu, 23 Feb 2017 08:07:41 +0000 (09:07 +0100)
test/example.c

index 604e13b9febb382455cab11fa66c7da3049da880..4352e66c91c4783f0c9b35dc0d36c95475a39734 100644 (file)
@@ -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");