jhash: add cast
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 13 Apr 2010 17:58:31 +0000 (13:58 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 13 Apr 2010 17:58:31 +0000 (13:58 -0400)
include/ust/kcompat/jhash.h

index dad0abbd9122650209cb63fa0610c5ec62f2da02..2635167b5f20e2e3e41323263d65d07eab00f095 100644 (file)
@@ -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;
This page took 0.023782 seconds and 4 git commands to generate.