diff options
author | Chris Hall <GMCH@hestia.halldom.com> | 2010-04-16 14:29:17 +0100 |
---|---|---|
committer | Chris Hall <GMCH@hestia.halldom.com> | 2010-04-16 14:29:17 +0100 |
commit | a20526cc30d68ca5c4c7951238faafa8969a31c1 (patch) | |
tree | c9a0d8ee5e16ee5f42704c9c9f3122f407f13122 /ospf6d/ospf6_spf.c | |
parent | d6f1bd7b60fc94488dc6a0493a6ec17346a03b2d (diff) | |
download | quagga-a20526cc30d68ca5c4c7951238faafa8969a31c1.tar.bz2 quagga-a20526cc30d68ca5c4c7951238faafa8969a31c1.tar.xz |
Removing compiler warnings.
Removed nearly 100 compiler warnings in the various routing daemons
which now clean compile.
Removed one warning in vty.c, which was obscured by the other
warnings. SO... this commit corrects the previous one.
Diffstat (limited to 'ospf6d/ospf6_spf.c')
-rw-r--r-- | ospf6d/ospf6_spf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ospf6d/ospf6_spf.c b/ospf6d/ospf6_spf.c index bfb6df2e..767f5255 100644 --- a/ospf6d/ospf6_spf.c +++ b/ospf6d/ospf6_spf.c @@ -60,13 +60,13 @@ ospf6_vertex_id_cmp (void *a, void *b) struct ospf6_vertex *vb = (struct ospf6_vertex *) b; int ret = 0; - ret = ntohl (ospf6_linkstate_prefix_adv_router (&va->vertex_id)) - - ntohl (ospf6_linkstate_prefix_adv_router (&vb->vertex_id)); + ret = ntohl (ospf6_linkstate_prefix_adv_router (va->vertex_id)) - + ntohl (ospf6_linkstate_prefix_adv_router (vb->vertex_id)); if (ret) return ret; - ret = ntohl (ospf6_linkstate_prefix_id (&va->vertex_id)) - - ntohl (ospf6_linkstate_prefix_id (&vb->vertex_id)); + ret = ntohl (ospf6_linkstate_prefix_id (va->vertex_id)) - + ntohl (ospf6_linkstate_prefix_id (vb->vertex_id)); return ret; } |