diff options
author | Chris Hall <GMCH@hestia.halldom.com> | 2010-04-16 14:29:17 +0100 |
---|---|---|
committer | Chris Hall <GMCH@hestia.halldom.com> | 2010-04-16 14:29:17 +0100 |
commit | a20526cc30d68ca5c4c7951238faafa8969a31c1 (patch) | |
tree | c9a0d8ee5e16ee5f42704c9c9f3122f407f13122 /ospfd/ospf_packet.c | |
parent | d6f1bd7b60fc94488dc6a0493a6ec17346a03b2d (diff) | |
download | quagga-a20526cc30d68ca5c4c7951238faafa8969a31c1.tar.bz2 quagga-a20526cc30d68ca5c4c7951238faafa8969a31c1.tar.xz |
Removing compiler warnings.
Removed nearly 100 compiler warnings in the various routing daemons
which now clean compile.
Removed one warning in vty.c, which was obscured by the other
warnings. SO... this commit corrects the previous one.
Diffstat (limited to 'ospfd/ospf_packet.c')
-rw-r--r-- | ospfd/ospf_packet.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c index 8f61ed1a..d8ff41d4 100644 --- a/ospfd/ospf_packet.c +++ b/ospfd/ospf_packet.c @@ -606,8 +606,7 @@ ospf_write (struct thread *thread) * and reliability - not more data, than our * socket can accept */ - maxdatasize = MIN (oi->ifp->mtu, ospf->maxsndbuflen) - - sizeof (struct ip); + maxdatasize = MIN((int)oi->ifp->mtu, ospf->maxsndbuflen) - sizeof (struct ip); /* Get one packet from queue. */ op = ospf_fifo_head (oi->obuf); |