summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-07-29 02:05:12 -0400
committerOri Bernstein <ori@eigenstate.org>2016-07-29 02:05:12 -0400
commitce56b7eacc56b427ba673829b0b35b933e3f2cda (patch)
tree3de01183a7e43404721641e3b43eb372f1acba46 /util
parent359f5e7e727145aeebae62563afbbe031257ea21 (diff)
downloadmc-ce56b7eacc56b427ba673829b0b35b933e3f2cda.tar.gz
Fix a bit of undefined behavior.
Diffstat (limited to 'util')
-rw-r--r--util/htab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/htab.c b/util/htab.c
index ea0de1b..085242b 100644
--- a/util/htab.c
+++ b/util/htab.c
@@ -277,7 +277,7 @@ ulong murmurhash2 (void *ptr, size_t len)
uint32_t r = 24;
uint32_t h, k;
uint32_t *data;
- char *buf;
+ uint8_t *buf;
buf = ptr;
data = (uint32_t*)buf;