summaryrefslogtreecommitdiff
path: root/com32/lib/zlib/crc32.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/lib/zlib/crc32.c')
-rw-r--r--com32/lib/zlib/crc32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/zlib/crc32.c b/com32/lib/zlib/crc32.c
index 447f138e..67e6f31e 100644
--- a/com32/lib/zlib/crc32.c
+++ b/com32/lib/zlib/crc32.c
@@ -100,7 +100,7 @@ local void make_crc_table()
/* make exclusive-or pattern from polynomial (0xedb88320UL) */
poly = 0UL;
- for (n = 0; n < sizeof(p)/sizeof(unsigned char); n++)
+ for (n = 0; n < (int)(sizeof(p)/sizeof(unsigned char)); n++)
poly |= 1UL << (31 - p[n]);
/* generate a crc for every 8-bit value */