summaryrefslogtreecommitdiff
path: root/source4/lib/crypto/crc32.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/crypto/crc32.c')
-rw-r--r--source4/lib/crypto/crc32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/crypto/crc32.c b/source4/lib/crypto/crc32.c
index 3a33d1a88b..8aec0c55be 100644
--- a/source4/lib/crypto/crc32.c
+++ b/source4/lib/crypto/crc32.c
@@ -88,7 +88,7 @@ const uint32_t crc32_tab[] = {
0xb40bbe37, 0xc30c8ea1, 0x5a05df1b, 0x2d02ef8d
};
-uint32_t crc32_calc_buffer(const char *buf, size_t size)
+uint32_t crc32_calc_buffer(const uint8_t *buf, size_t size)
{
const unsigned char *p;
uint32_t crc;