From: mhofstra Date: Tue, 18 Dec 2012 20:57:16 +0000 (+0100) Subject: Small typo fix to make it compile on x86 X-Git-Tag: 0.1.9~43^2 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=5fc1cc24146b535043ba13618fb2402fe9e6cb20;ds=sidebyside Small typo fix to make it compile on x86 --- diff --git a/util.c b/util.c index f213e2f..15db97c 100644 --- a/util.c +++ b/util.c @@ -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;