Merge pull request #48 from mhofstra/patch-1

Small typo fix to make it compile on x86
This commit is contained in:
Wolfgang Bumiller 2012-12-18 13:01:43 -08:00
commit 2a2c208884

2
util.c
View file

@ -581,7 +581,7 @@ GMQCC_INLINE uint32_t util_hthashfunc(hash_table_t *ht, const char *key, registe
size_t size = strlen(key);
uint32_t hash = seed ^ size;
uint32_t alias = 0;
const unsigned char *data = (const unsigned char*)ket;
const unsigned char *data = (const unsigned char*)key;
while (size >= 4) {
alias = *(uint32_t*)data;