From: Pierre-Marc Fournier Date: Tue, 13 Apr 2010 17:58:31 +0000 (-0400) Subject: jhash: add cast X-Git-Tag: v0.5~35 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=bedbae4d5f523e62d8fff9f3a42f39a6a03d0382;p=ust.git jhash: add cast --- diff --git a/include/ust/kcompat/jhash.h b/include/ust/kcompat/jhash.h index dad0abb..2635167 100644 --- a/include/ust/kcompat/jhash.h +++ b/include/ust/kcompat/jhash.h @@ -44,7 +44,7 @@ static inline u32 jhash(const void *key, u32 length, u32 initval) { u32 a, b, c, len; - const u8 *k = key; + const u8 *k = (const u8 *) key; len = length; a = b = JHASH_GOLDEN_RATIO;