diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-12-16 16:31:43 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-12-16 16:31:43 +0100 |
commit | e87a95d97d18eb12d005312f27b082f0821d3923 (patch) | |
tree | 51eb29b6f0b12cad8ceba9870dbe0b53bc577c2f /proto | |
parent | 3013fc57bdc97b0031c4f4250b9bdd172f4c0f4e (diff) |
Minor fixes for debug mode
Diffstat (limited to 'proto')
-rw-r--r-- | proto/bfd/io.c | 2 | ||||
-rw-r--r-- | proto/ospf/ospf.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/proto/bfd/io.c b/proto/bfd/io.c index b01cbfce..1cd9365a 100644 --- a/proto/bfd/io.c +++ b/proto/bfd/io.c @@ -298,7 +298,7 @@ sockets_prepare(struct birdloop *loop) struct pollfd *pfd = loop->poll_fd.data; sock **psk = loop->poll_sk.data; - int i = 0; + uint i = 0; node *n; WALK_LIST(n, loop->sock_list) 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; |