summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_te.c
diff options
context:
space:
mode:
authorpaul <paul>2004-10-11 11:00:30 +0000
committerpaul <paul>2004-10-11 11:00:30 +0000
commitd646f87e1b6c784d55421f02fd270bf171d9928c (patch)
treec79555028fda59b0ceb5509dbacaf82c44e1198a /ospfd/ospf_te.c
parent9353a2aa75b638a91e8692f807d9f1dbac1d1e8e (diff)
downloadquagga-d646f87e1b6c784d55421f02fd270bf171d9928c.tar.bz2
quagga-d646f87e1b6c784d55421f02fd270bf171d9928c.tar.xz
2004-10-11 Paul Jakma <paul@dishone.st>
* (global) Const char update and signed/unsigned fixes. * (various headers) size defines should be unsigned. * ospf_interface.h: remove duplicated defines, include the authoritative header - though, these defines should probably be moved to a dedicated header, or ospfd.h. * ospf_lsa.h: (struct lsa) ls_seqnum should be unsigned. * ospf_packet.c: (ospf_write) cast result of shift to unsigned.
Diffstat (limited to 'ospfd/ospf_te.c')
-rw-r--r--ospfd/ospf_te.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c
index a4980034..f62f35c4 100644
--- a/ospfd/ospf_te.c
+++ b/ospfd/ospf_te.c
@@ -267,7 +267,7 @@ lookup_linkparams_by_instance (struct ospf_lsa *lsa)
{
struct listnode *node;
struct mpls_te_link *lp;
- int key = GET_OPAQUE_ID (ntohl (lsa->data->id.s_addr));
+ unsigned int key = GET_OPAQUE_ID (ntohl (lsa->data->id.s_addr));
LIST_LOOP (OspfMplsTE.iflist, lp, node)
if (lp->instance == key)