summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2005-02-14 12:54:16 +0100
committerOndrej Filip <feela@network.cz>2005-02-14 12:54:16 +0100
commitb181f444a6538b03a02296f02928e3c131b251a6 (patch)
tree31086fa3f7d91ae64522a136da7d02cd821c1488 /proto/ospf/ospf.c
parent75c1c585197f2b4a1b0295d36fe16a4869c21914 (diff)
downloadbird-b181f444a6538b03a02296f02928e3c131b251a6.tar
bird-b181f444a6538b03a02296f02928e3c131b251a6.zip
Small changes to reduce number of warnings.
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r--proto/ospf/ospf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index c753503..ce01a37 100644
--- a/proto/ospf/ospf.c
+++ b/proto/ospf/ospf.c
@@ -776,8 +776,8 @@ ospf_reconfigure(struct proto *p, struct proto_config *c)
}
}
- NODE ac1 = (NODE(ac1))->next;
- NODE ac2 = (NODE(ac2))->next;
+ ac1 = (struct ospf_area_config *)(NODE(ac1))->next;
+ ac2 = (struct ospf_area_config *)(NODE(ac2))->next;
}
if (((NODE(ac1))->next) != ((NODE(ac2))->next))