From 5c55901266a4f176e77d41ceb6674b0d89eaef3a Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 25 Nov 2004 18:02:35 +0000 Subject: r3960: fix compiler warnings metze (This used to be commit 54d5b418a75d421a9c6c09bc084454f11e9b7b44) --- source4/lib/crypto/crc32.c | 2 +- source4/lib/crypto/crc32.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'source4/lib') diff --git a/source4/lib/crypto/crc32.c b/source4/lib/crypto/crc32.c index f2d76332f9..00cee243b4 100644 --- a/source4/lib/crypto/crc32.c +++ b/source4/lib/crypto/crc32.c @@ -55,7 +55,7 @@ static const unsigned long CRCTable[256] = 0xB40BBE37,0xC30C8EA1,0x5A05DF1B,0x2D02EF8D }; -uint32_t crc32_calc_buffer( const char *buffer, uint32_t count) +uint32_t crc32_calc_buffer(const uint8_t *buffer, uint32_t count) { uint32_t crc=0xffffffff, i; for(i=0;i