aboutsummaryrefslogtreecommitdiffstats
path: root/com32
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-01-10 13:07:39 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-01-10 13:07:39 -0800
commit0ca76a5d902632787427cc9c403a780c0c1d4473 (patch)
tree087531dfe4f2e16b78df616104c5820053470379 /com32
parente15e3124743844b8e905b122b8c8c9e864bb2f66 (diff)
downloadsyslinux.git-0ca76a5d902632787427cc9c403a780c0c1d4473.tar.gz
syslinux.git-0ca76a5d902632787427cc9c403a780c0c1d4473.tar.xz
syslinux.git-0ca76a5d902632787427cc9c403a780c0c1d4473.zip
zlib: fix warning in crc32.c
Fix a signed/unsigned warning in crc32.c. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32')
-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 */