]> git.puffer.fish Git - matthieu/frr.git/commitdiff
Fix arm compilation failures of sockunion_hash issues
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 8 Sep 2015 23:18:30 +0000 (16:18 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 8 Sep 2015 23:18:30 +0000 (16:18 -0700)
Compiling for the arm platform with -Werror for the 9196caf commit
causes it to fail.  This commit addresses this issue

lib/jhash.c

index 3cf183299f5751828738bf36e12781cac1361717..decd066cd7befe4591ff112e556f04270d7fdfde 100644 (file)
@@ -105,7 +105,7 @@ jhash (const void *key, u_int32_t length, u_int32_t initval)
  * The length parameter here is the number of u_int32_ts in the key.
  */
 u_int32_t
-jhash2 (u_int32_t * k, u_int32_t length, u_int32_t initval)
+jhash2 (const u_int32_t * k, u_int32_t length, u_int32_t initval)
 {
   u_int32_t a, b, c, len;