]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Small typo fix to make it compile on x86
authormhofstra <mhofstra@gmail.com>
Tue, 18 Dec 2012 20:57:16 +0000 (21:57 +0100)
committermhofstra <mhofstra@gmail.com>
Tue, 18 Dec 2012 20:57:16 +0000 (21:57 +0100)
util.c

diff --git a/util.c b/util.c
index f213e2fd56e9a08c43fda50569bc85335e1398d6..15db97cfd9a1dbac5f044abba347004a466d1c55 100644 (file)
--- 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;