From: Donald Sharp Date: Tue, 8 Sep 2015 23:18:30 +0000 (-0700) Subject: Fix arm compilation failures of sockunion_hash issues X-Git-Tag: frr-2.0-rc1~1260 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=404504b1254c15b5caccd8648b2d62e72d9d4ad1;p=matthieu%2Ffrr.git Fix arm compilation failures of sockunion_hash issues Compiling for the arm platform with -Werror for the 9196caf commit causes it to fail. This commit addresses this issue --- diff --git a/lib/jhash.c b/lib/jhash.c index 3cf183299f..decd066cd7 100644 --- a/lib/jhash.c +++ b/lib/jhash.c @@ -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;