From a4d08ca331944d45ef109c22697c53f935dfa4d6 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 8 Sep 2015 13:26:57 -0700 Subject: [PATCH] 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 --- lib/jhash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jhash.h b/lib/jhash.h index a9807cc388..985ac94e04 100644 --- a/lib/jhash.h +++ b/lib/jhash.h @@ -29,7 +29,7 @@ extern u_int32_t jhash(const void *key, u_int32_t length, u_int32_t initval); /* A special optimized version that handles 1 or more of u_int32_ts. * The length parameter here is the number of u_int32_ts in the key. */ -extern u_int32_t jhash2(u_int32_t *k, u_int32_t length, u_int32_t initval); +extern u_int32_t jhash2(const u_int32_t *k, u_int32_t length, u_int32_t initval); /* A special ultra-optimized versions that knows they are hashing exactly * 3, 2 or 1 word(s). -- 2.39.5