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:
Daniel Silverstone 2008-09-08 15:23:34 +00:00
parent 625237c9c1
commit 7dd73c5b43

View File

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