From e87a95d97d18eb12d005312f27b082f0821d3923 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Sat, 16 Dec 2017 16:31:43 +0100 Subject: Minor fixes for debug mode --- proto/ospf/ospf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/ospf/ospf.c') diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index 3ebebdaa..df6c452e 100644 --- a/proto/ospf/ospf.c +++ b/proto/ospf/ospf.c @@ -1179,7 +1179,7 @@ ospf_sh_state(struct proto *P, int verbose, int reachable) /* We store interesting area-scoped LSAs in array hea and global-scoped (LSA_T_EXT) LSAs in array hex */ - int num = p->gr->hash_entries; + uint num = p->gr->hash_entries; struct top_hash_entry *hea[num]; struct top_hash_entry *hex[verbose ? num : 0]; struct top_hash_entry *he; -- cgit v1.2.3