From 7286ac02a3023214c0afc3bc8415a31231dae808 Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Fri, 29 Mar 2019 10:53:14 -0400 Subject: [PATCH] zebra: Fix hash key type in zebra_nhg We were declaring the hash key as an int rather then uint32_t. Signed-off-by: Stephen Worley --- zebra/zebra_nhg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra/zebra_nhg.c b/zebra/zebra_nhg.c index 18f5cf3b8d..c149eafea9 100644 --- a/zebra/zebra_nhg.c +++ b/zebra/zebra_nhg.c @@ -229,7 +229,7 @@ uint32_t zebra_nhg_hash_key(const void *arg) { const struct nhg_hash_entry *nhe = arg; - int key = 0x5a351234; + uint32_t key = 0x5a351234; key = jhash_2words(nhe->vrf_id, nhe->afi, key); -- 2.39.5