diff options
| author | Tyge Løvset <[email protected]> | 2023-09-05 13:01:50 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-09-05 13:01:50 +0200 |
| commit | 3628e4389ef9455960c42466487385fc228566c3 (patch) | |
| tree | bf77c960cc44640485a47efb01d80a430747d586 /include/stc/cstr.h | |
| parent | 5e38c27f35d8916770a5e1f9a586c7d73e27bad1 (diff) | |
| download | STC-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/cstr.h')
| -rw-r--r-- | include/stc/cstr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/cstr.h b/include/stc/cstr.h index f0974865..51519d82 100644 --- a/include/stc/cstr.h +++ b/include/stc/cstr.h @@ -450,7 +450,7 @@ bool cstr_valid_utf8(const cstr* self) STC_DEF uint64_t cstr_hash(const cstr *self) { csview sv = cstr_sv(self); - return cfasthash(sv.buf, sv.size); + return cbytehash(sv.buf, sv.size); } STC_DEF intptr_t cstr_find_sv(const cstr* self, csview search) { |
