summaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
authorraven <citrons@mondecitronne.com>2026-04-11 18:13:34 -0500
committerraven <citrons@mondecitronne.com>2026-04-11 18:13:34 -0500
commitf6c30f0acf44969646b2c895bd2672c0ebc85d66 (patch)
treef399de34810f76408a6bd47e3620c1429cea5338 /src/hash.h
parent629d7d2ca4cbdda7aafcd6476b77248d1fa63bcc (diff)
tooltip with address, byte value and strings
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];