summaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash.h')
-rw-r--r--src/hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash.h b/src/hash.h
index 238b15b..f9da7bb 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -3,7 +3,7 @@
#include <stdint.h>
-static uint64_t fnv(uint8_t *data, size_t size) {
+static uint64_t fnv(const uint8_t *data, size_t size) {
uint64_t hash = 0xcbf29ce484222325;
for (size_t i = 0; i < size; i++) {
hash ^= data[i];