From 368d30c3ca627bd8c77f69f63f98f7165df46097 Mon Sep 17 00:00:00 2001 From: brian Date: Wed, 31 Mar 1999 14:21:46 +0000 Subject: Avoid a few warnings on the alpha --- usr.sbin/ppp/auth.c | 4 ++-- usr.sbin/ppp/ccp.c | 3 ++- usr.sbin/ppp/link.c | 3 ++- usr.sbin/ppp/pap.c | 3 ++- usr.sbin/ppp/vjcomp.c | 3 ++- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/usr.sbin/ppp/auth.c b/usr.sbin/ppp/auth.c index 2373289..a60b525 100644 --- a/usr.sbin/ppp/auth.c +++ b/usr.sbin/ppp/auth.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: auth.c,v 1.41 1999/02/20 01:12:45 brian Exp $ + * $Id: auth.c,v 1.42 1999/02/26 21:28:06 brian Exp $ * * TODO: * o Implement check against with registered IP addresses. @@ -335,7 +335,7 @@ auth_ReadHeader(struct authinfo *authp, struct mbuf *bp) } else { authp->in.hdr.length = htons(0); log_Printf(LogWARN, "auth_ReadHeader: Short packet header (%d > %d) !\n", - sizeof authp->in.hdr, len); + (int)(sizeof authp->in.hdr), len); } mbuf_Free(bp); diff --git a/usr.sbin/ppp/ccp.c b/usr.sbin/ppp/ccp.c index 4aa773b..85d5385 100644 --- a/usr.sbin/ppp/ccp.c +++ b/usr.sbin/ppp/ccp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: ccp.c,v 1.43 1999/02/26 21:28:07 brian Exp $ + * $Id: ccp.c,v 1.44 1999/03/11 01:49:15 brian Exp $ * * TODO: * o Support other compression protocols @@ -30,6 +30,7 @@ #include #include +#include #include #include "defs.h" diff --git a/usr.sbin/ppp/link.c b/usr.sbin/ppp/link.c index c3a7453..1473969 100644 --- a/usr.sbin/ppp/link.c +++ b/usr.sbin/ppp/link.c @@ -23,13 +23,14 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: link.c,v 1.6 1998/08/26 18:07:56 brian Exp $ + * $Id: link.c,v 1.7 1999/02/06 02:54:46 brian Exp $ * */ #include #include +#include #include #include "defs.h" diff --git a/usr.sbin/ppp/pap.c b/usr.sbin/ppp/pap.c index 681f90d..1459e51 100644 --- a/usr.sbin/ppp/pap.c +++ b/usr.sbin/ppp/pap.c @@ -18,7 +18,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: pap.c,v 1.31 1999/02/06 02:54:47 brian Exp $ + * $Id: pap.c,v 1.32 1999/02/20 01:12:45 brian Exp $ * * TODO: */ @@ -29,6 +29,7 @@ #include #include +#include #include #include "mbuf.h" diff --git a/usr.sbin/ppp/vjcomp.c b/usr.sbin/ppp/vjcomp.c index 5c257bf..269ff95 100644 --- a/usr.sbin/ppp/vjcomp.c +++ b/usr.sbin/ppp/vjcomp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: vjcomp.c,v 1.25 1999/02/06 02:54:47 brian Exp $ + * $Id: vjcomp.c,v 1.26 1999/03/29 08:21:28 brian Exp $ * * TODO: */ @@ -28,6 +28,7 @@ #include #include +#include #include "mbuf.h" #include "log.h" -- cgit v1.1