]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fix signed/unsigned mismatch. 16/head
authorMika Lindqvist <postmaster@raasu.org>
Mon, 4 May 2015 10:17:44 +0000 (13:17 +0300)
committerMika Lindqvist <postmaster@raasu.org>
Mon, 4 May 2015 16:54:48 +0000 (19:54 +0300)
deflate.c

index 323b8d281f8dc8dd59f05eac2391a1a6044df7d2..eecd9253d5aca9d742a4d75e314ec28def07e4f2 100644 (file)
--- a/deflate.c
+++ b/deflate.c
@@ -1269,7 +1269,7 @@ local void fill_window_c(deflate_state *s)
              *       variable to avoid unncessary zero-extension.
              */
             {
-                int i; 
+                unsigned int i; 
                 Pos *q = p - n;
                 for (i = 0; i < n; i++) {
                     Pos m = *q;
@@ -1292,7 +1292,7 @@ local void fill_window_c(deflate_state *s)
             } while (--n);
 #else
             {
-                int i; 
+                unsigned int i; 
                 Pos *q = p - n;
                 for (i = 0; i < n; i++) {
                     Pos m = *q;