diff options
author | Ori Bernstein <ori@eigenstate.org> | 2016-07-29 02:05:12 -0400 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2016-07-29 02:05:12 -0400 |
commit | ce56b7eacc56b427ba673829b0b35b933e3f2cda (patch) | |
tree | 3de01183a7e43404721641e3b43eb372f1acba46 /util | |
parent | 359f5e7e727145aeebae62563afbbe031257ea21 (diff) | |
download | mc-ce56b7eacc56b427ba673829b0b35b933e3f2cda.tar.gz |
Fix a bit of undefined behavior.
Diffstat (limited to 'util')
-rw-r--r-- | util/htab.c | 2 |
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; |