diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-01-10 13:07:39 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-01-10 13:07:39 -0800 |
commit | 0ca76a5d902632787427cc9c403a780c0c1d4473 (patch) | |
tree | 087531dfe4f2e16b78df616104c5820053470379 /com32/lib/zlib | |
parent | e15e3124743844b8e905b122b8c8c9e864bb2f66 (diff) | |
download | syslinux-0ca76a5d902632787427cc9c403a780c0c1d4473.tar.gz |
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/lib/zlib')
-rw-r--r-- | com32/lib/zlib/crc32.c | 2 |
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 */ |