summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/crypto/crc32.c2
-rw-r--r--source4/lib/crypto/crc32.h2
2 files changed, 2 insertions, 2 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;
diff --git a/source4/lib/crypto/crc32.h b/source4/lib/crypto/crc32.h
index 5b3642ffc8..bd9a39cb2b 100644
--- a/source4/lib/crypto/crc32.h
+++ b/source4/lib/crypto/crc32.h
@@ -1 +1 @@
-uint32_t crc32_calc_buffer(const uint8_t *buffer, uint32_t count);
+uint32_t crc32_calc_buffer(const uint8_t *buffer, uint32_t size);