summaryrefslogtreecommitdiffhomepage
path: root/include/stc/crawstr.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-09-05 13:01:50 +0200
committerTyge Løvset <[email protected]>2023-09-05 13:01:50 +0200
commit3628e4389ef9455960c42466487385fc228566c3 (patch)
treebf77c960cc44640485a47efb01d80a430747d586 /include/stc/crawstr.h
parent5e38c27f35d8916770a5e1f9a586c7d73e27bad1 (diff)
downloadSTC-modified-3628e4389ef9455960c42466487385fc228566c3.tar.gz
STC-modified-3628e4389ef9455960c42466487385fc228566c3.zip
Renamed (half) internal function cfasthash() => cbytehash().
Fixed missing parameter in call of i_hash().
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