summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hashm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hashm.h b/src/hashm.h
index fb83391..e1ed720 100644
--- a/src/hashm.h
+++ b/src/hashm.h
@@ -14,7 +14,7 @@ template <typename K, typename V> struct hashentry_s {
};
template <typename K, typename V>
-inline i32 wayc_hashentry_hash(const void *item, uint64_t seed0,
+inline u64 wayc_hashentry_hash(const void *item, uint64_t seed0,
uint64_t seed1) {
wayc_notnull(item);
@@ -23,7 +23,7 @@ inline i32 wayc_hashentry_hash(const void *item, uint64_t seed0,
}
template <typename K, typename V>
-inline bool wayc_hashentry_compare(const void *a, const void *b, void *udata) {
+inline i32 wayc_hashentry_compare(const void *a, const void *b, void *udata) {
(void)udata;
wayc_notnull(a);