summaryrefslogtreecommitdiff
path: root/xs.h
diff options
context:
space:
mode:
authorLouis Brauer <louis@openbooking.ch>2024-05-27 19:49:09 +0200
committerLouis Brauer <louis@openbooking.ch>2024-05-27 19:49:09 +0200
commit8fc788e92c83bb7c09c5d267affcb91ef828b0d6 (patch)
treeed36004feb991b32401292cc90d3a700977b948b /xs.h
parentdfa0911c886b5bbc3e6c847babb2e2071503528f (diff)
parent8be440b54563d850dae1d6f7185765fdff7747bd (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'xs.h')
-rw-r--r--xs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs.h b/xs.h
index e240ce7..4da0d6f 100644
--- a/xs.h
+++ b/xs.h
@@ -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;
}