Backport from xs.

This commit is contained in:
default 2024-05-27 08:28:14 +02:00
parent 36764b8ade
commit 5bc2017ba0
2 changed files with 2 additions and 2 deletions

2
xs.h
View file

@ -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;
}

View file

@ -1 +1 @@
/* e148ab08d5a55ac7bd30ff900f5eb048a57e21af 2024-05-27T05:33:01+02:00 */
/* efb85fa3768a86f1609c520f0c86e8f87239b695 2024-05-27T08:24:40+02:00 */