summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_interface.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-07-29 19:16:13 -0400
committerPaul Jakma <paul@quagga.net>2015-09-24 15:26:44 +0100
commit0bc874b88cf86fca4b18f3672a441ed142fc499d (patch)
tree35781fe9f0d71c7df85fe07c3461553eb4901215 /ospfd/ospf_interface.c
parentfbc3e97d747862fd47f711c9f15b8166bdf94b18 (diff)
downloadquagga-0bc874b88cf86fca4b18f3672a441ed142fc499d.tar.bz2
quagga-0bc874b88cf86fca4b18f3672a441ed142fc499d.tar.xz
build/arm: Arm compilation warning fix
The arm cross compiler is issuing warnings for signed/unsigned comparisons for ntohs. ntohs returns a unsigned int, while the counting variables are signed. Fixed to allow -Werror to work properly Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_interface.c')
-rw-r--r--ospfd/ospf_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_interface.c b/ospfd/ospf_interface.c
index af4f0a60..f41c4f16 100644
--- a/ospfd/ospf_interface.c
+++ b/ospfd/ospf_interface.c
@@ -1011,7 +1011,7 @@ ospf_vl_set_params (struct ospf_vl_data *vl_data, struct vertex *v)
struct ospf_interface *voi;
struct listnode *node;
struct vertex_parent *vp = NULL;
- int i;
+ unsigned int i;
struct router_lsa *rl;
voi = vl_data->vl_oi;