diff options
| author | 2024-05-27 17:03:29 +0000 | |
|---|---|---|
| committer | 2024-05-27 17:03:29 +0000 | |
| commit | 8be440b54563d850dae1d6f7185765fdff7747bd (patch) | |
| tree | 1422e785df82908cfe3703042c4f1d825af8cffd /xs.h | |
| parent | Translate status codes to canonical status texts (diff) | |
| parent | Backport from xs. (diff) | |
| download | penes-snac2-8be440b54563d850dae1d6f7185765fdff7747bd.tar.gz penes-snac2-8be440b54563d850dae1d6f7185765fdff7747bd.tar.xz penes-snac2-8be440b54563d850dae1d6f7185765fdff7747bd.zip | |
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) | |||
| 1322 | int n; | 1322 | int n; |
| 1323 | 1323 | ||
| 1324 | for (n = 0; n < size; n++) { | 1324 | for (n = 0; n < size; n++) { |
| 1325 | hash ^= data[n]; | 1325 | hash ^= (unsigned char)data[n]; |
| 1326 | hash *= 111111111; | 1326 | hash *= 111111111; |
| 1327 | } | 1327 | } |
| 1328 | 1328 | ||