From 1686f93fcad703c3cb5b8d4aa5be3c62b5e966bb Mon Sep 17 00:00:00 2001 From: gdt Date: Thu, 9 Dec 2004 14:47:09 +0000 Subject: add comment about warning of comparison between signed and unsigned --- ospf6d/ospf6_intra.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ospf6d') diff --git a/ospf6d/ospf6_intra.c b/ospf6d/ospf6_intra.c index 365b98d1..62b7ffc1 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 + -- cgit v1.2.1