diff options
Diffstat (limited to 'common/crc.c')
-rw-r--r-- | common/crc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/crc.c b/common/crc.c index 79d405eb13..a715a6d366 100644 --- a/common/crc.c +++ b/common/crc.c @@ -60,7 +60,7 @@ static uint32_t crc32_hash(uint32_t crc, const void *buf, int size) { const uint8_t *p; - p = buf; + p = (const uint8_t *)buf; while (size--) { crc ^= *p++; |