summaryrefslogtreecommitdiff
path: root/source3/lib/crc32.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/crc32.c')
-rw-r--r--source3/lib/crc32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/crc32.c b/source3/lib/crc32.c
index 9da5b4bfe1..39c01fa30f 100644
--- a/source3/lib/crc32.c
+++ b/source3/lib/crc32.c
@@ -59,7 +59,7 @@ static unsigned long CRCTable[256] =
uint32 crc32_calc_buffer( uint32 count, char *buffer)
{
uint32 crc=0xffffffff;
- int i;
+ uint32 i;
for(i=0;i<count;i++)
{
crc = (crc>>8) ^ CRCTable[(buffer[i] ^ crc) & 0xff];