Avoid a few warnings on the alpha

This commit is contained in:
Brian Somers 1999-03-31 14:21:46 +00:00
parent 4db9b34751
commit eb2d27cfc3
5 changed files with 10 additions and 6 deletions

View File

@ -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);

View File

@ -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 <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <termios.h>
#include "defs.h"

View File

@ -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 <sys/types.h>
#include <stdio.h>
#include <string.h>
#include <termios.h>
#include "defs.h"

View File

@ -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 <sys/un.h>
#include <stdlib.h>
#include <string.h>
#include <termios.h>
#include "mbuf.h"

View File

@ -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 <sys/un.h>
#include <stdio.h>
#include <string.h>
#include "mbuf.h"
#include "log.h"