diff options
Diffstat (limited to 'source3/lib/crc32.c')
-rw-r--r-- | source3/lib/crc32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/crc32.c b/source3/lib/crc32.c index 7522ab7c811..a4ae90c4693 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--) |