]> git.puffer.fish Git - matthieu/frr.git/commitdiff
add comment about warning of comparison between signed and unsigned
authorgdt <gdt>
Thu, 9 Dec 2004 14:47:09 +0000 (14:47 +0000)
committergdt <gdt>
Thu, 9 Dec 2004 14:47:09 +0000 (14:47 +0000)
ospf6d/ospf6_intra.c

index 365b98d155860b6bcce65e28310c89aae32845ec..62b7ffc1a29b5cbd54f8105f86a761625f2ae5f4 100644 (file)
@@ -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 +