summaryrefslogtreecommitdiffstats
path: root/ospf6d
diff options
context:
space:
mode:
authorgdt <gdt>2004-12-09 15:47:09 +0100
committergdt <gdt>2004-12-09 15:47:09 +0100
commit1686f93fcad703c3cb5b8d4aa5be3c62b5e966bb (patch)
tree9f921e5de0ded8c9bdf50467a3e661336d1c1b20 /ospf6d
parentAdd comments with warnings obtained on NetBSD/i386. Both are due to (diff)
downloadfrr-1686f93fcad703c3cb5b8d4aa5be3c62b5e966bb.tar.xz
frr-1686f93fcad703c3cb5b8d4aa5be3c62b5e966bb.zip
add comment about warning of comparison between signed and unsigned
Diffstat (limited to 'ospf6d')
-rw-r--r--ospf6d/ospf6_intra.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospf6d/ospf6_intra.c b/ospf6d/ospf6_intra.c
index 365b98d15..62b7ffc1a 100644
--- a/ospf6d/ospf6_intra.c
+++ b/ospf6d/ospf6_intra.c
@@ -174,6 +174,7 @@ ospf6_router_lsa_originate (struct thread *thread)
/* Multiple Router-LSA instance according to size limit setting */
if ( (oa->router_lsa_size_limit != 0)
&& ((caddr_t) lsdesc + sizeof (struct ospf6_router_lsdesc) -
+ /* XXX warning: comparison between signed and unsigned */
(caddr_t) buffer > oa->router_lsa_size_limit))
{
if ((caddr_t) lsdesc == (caddr_t) router_lsa +