mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 20:46:50 +03:00
Ensure we actually use the FNV offset basis rather than the prime, for initialising the hash
svn path=/trunk/netsurf/; revision=5286
This commit is contained in:
parent
625237c9c1
commit
7dd73c5b43
@ -54,7 +54,7 @@ struct hash_table {
|
||||
|
||||
static inline unsigned int hash_string_fnv(const char *datum, unsigned int *len)
|
||||
{
|
||||
unsigned int z = 0x01000193;
|
||||
unsigned int z = 0x811c9dc5;
|
||||
const char *start = datum;
|
||||
*len = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user