diff options
Diffstat (limited to 'source/lib/crc32.c')
-rw-r--r-- | source/lib/crc32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/lib/crc32.c b/source/lib/crc32.c index bd4f1633e50..e026fbf8615 100644 --- a/source/lib/crc32.c +++ b/source/lib/crc32.c @@ -57,7 +57,8 @@ static unsigned long CRCTable[256] = uint32 crc32_calc_buffer( char *buffer, uint32 count) { - uint32 crc=0xffffffff, i; + uint32 crc=0xffffffff; + int i; for(i=0;i<count;i++) crc = (crc>>8) ^ CRCTable[(buffer[i] ^ crc) & 0xff]; crc^=0xffffffff; |