summaryrefslogtreecommitdiffhomepage
path: root/include/stc/crawstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stc/crawstr.h')
-rw-r--r--include/stc/crawstr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/crawstr.h b/include/stc/crawstr.h
index 0395c8c6..a244397d 100644
--- a/include/stc/crawstr.h
+++ b/include/stc/crawstr.h
@@ -98,7 +98,7 @@ STC_INLINE bool crawstr_eq(const crawstr* x, const crawstr* y)
{ return x->size == y->size && !c_memcmp(x->str, y->str, x->size); }
STC_INLINE uint64_t crawstr_hash(const crawstr *self)
- { return cfasthash(self->str, self->size); }
+ { return cbytehash(self->str, self->size); }
#endif // CRAWSTR_H_INCLUDED
#undef i_static