From bedbae4d5f523e62d8fff9f3a42f39a6a03d0382 Mon Sep 17 00:00:00 2001 From: Pierre-Marc Fournier Date: Tue, 13 Apr 2010 13:58:31 -0400 Subject: [PATCH] jhash: add cast --- include/ust/kcompat/jhash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1