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 7522ab7c81..a4ae90c469 100644
--- a/source3/lib/crc32.c
+++ b/source3/lib/crc32.c
@@ -93,7 +93,7 @@ uint32 crc32_calc_buffer(const char *buf, size_t size)
const unsigned char *p;
uint32 crc;
- p = buf;
+ p = (const unsigned char *)buf;
crc = ~0U;
while (size--)