From e1a65ecd0d14700f313bb3b97beaff8dc66fdd29 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sun, 17 Feb 2002 18:30:01 +0000 Subject: int -> uint32 (This used to be commit 5efe39af0c89e549bb8211a39a949f80f6d1bf78) --- source3/lib/crc32.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/lib/crc32.c') diff --git a/source3/lib/crc32.c b/source3/lib/crc32.c index e026fbf861..bd4f1633e5 100644 --- a/source3/lib/crc32.c +++ b/source3/lib/crc32.c @@ -57,8 +57,7 @@ static unsigned long CRCTable[256] = uint32 crc32_calc_buffer( char *buffer, uint32 count) { - uint32 crc=0xffffffff; - int i; + uint32 crc=0xffffffff, i; for(i=0;i>8) ^ CRCTable[(buffer[i] ^ crc) & 0xff]; crc^=0xffffffff; -- cgit