summaryrefslogtreecommitdiff
path: root/source/lib/crypto
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-11-25 18:02:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:08 -0500
commit54d5b418a75d421a9c6c09bc084454f11e9b7b44 (patch)
tree033aeca0eba8591e3d792b04900d702adfb7a5b8 /source/lib/crypto
parente28351f710525ca9863210974544a8b1a537e63a (diff)
downloadsamba-54d5b418a75d421a9c6c09bc084454f11e9b7b44.tar.gz
r3960: fix compiler warnings
metze
Diffstat (limited to 'source/lib/crypto')
-rw-r--r--source/lib/crypto/crc32.c2
-rw-r--r--source/lib/crypto/crc32.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/source/lib/crypto/crc32.c b/source/lib/crypto/crc32.c
index f2d76332f96..00cee243b47 100644
--- a/source/lib/crypto/crc32.c
+++ b/source/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<count;i++)
diff --git a/source/lib/crypto/crc32.h b/source/lib/crypto/crc32.h
index a1030c14df4..5b3642ffc86 100644
--- a/source/lib/crypto/crc32.h
+++ b/source/lib/crypto/crc32.h
@@ -1,2 +1 @@
-uint32_t crc32_calc_buffer( const char *buffer, uint32_t count);
-
+uint32_t crc32_calc_buffer(const uint8_t *buffer, uint32_t count);