1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Minor fixes for debug mode

This commit is contained in:
Ondrej Zajicek (work)
2017-12-16 16:31:43 +01:00
parent 3013fc57bd
commit e87a95d97d
4 changed files with 7 additions and 12 deletions

View File

@@ -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;