diff options
author | Louis Brauer <louis77@noreply.codeberg.org> | 2024-05-27 17:03:29 +0000 |
---|---|---|
committer | Louis Brauer <louis77@noreply.codeberg.org> | 2024-05-27 17:03:29 +0000 |
commit | 8be440b54563d850dae1d6f7185765fdff7747bd (patch) | |
tree | 1422e785df82908cfe3703042c4f1d825af8cffd /xs.h | |
parent | 26fbda787d0d5c8ba9259f79f4d2f937bd6c8ead (diff) | |
parent | 5bc2017ba065337dd15aa280ca0a43855b7b507b (diff) |
Merge branch 'master' into master
Diffstat (limited to 'xs.h')
-rw-r--r-- | xs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1322,7 +1322,7 @@ unsigned int xs_hash_func(const char *data, int size) int n; for (n = 0; n < size; n++) { - hash ^= data[n]; + hash ^= (unsigned char)data[n]; hash *= 111111111; } |