aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2024-03-29 17:25:56 -0700
committerMichael Forney <mforney@mforney.org>2024-04-02 14:06:59 -0700
commitfef86b0202a3d4ef191926fee683eb92e9218bd4 (patch)
tree0fe65e7c022ed3bd0b3a62fd8bed6d84c27ffb17 /util.h
parent8120240c1f17cf536228b79144d41168a48a4fcc (diff)
map: Use simpler fnv-1a hash function
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.h b/util.h
index 4108075..1e7a99c 100644
--- a/util.h
+++ b/util.h
@@ -48,7 +48,7 @@ struct map {
};
struct mapkey {
- uint64_t hash;
+ unsigned long hash;
const void *str;
size_t len;
};