cast pointers to longs, print appropriately

This commit is contained in:
cgd 1995-04-22 14:10:10 +00:00
parent b94f71c618
commit a24d2f6e17
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bootp.c,v 1.5 1994/10/26 06:43:05 cgd Exp $ */
/* $NetBSD: bootp.c,v 1.6 1995/04/22 14:10:10 cgd Exp $ */
/*
* Copyright (c) 1992 Regents of the University of California.
@ -179,8 +179,8 @@ bootprecv(d, pkt, len)
bp = (struct bootp *)checkudp(d, pkt, &len);
#ifdef DEBUG
if (debug)
printf("bootprecv: checked. bp = 0x%x, len = %d\n",
(unsigned)bp, len);
printf("bootprecv: checked. bp = 0x%lx, len = %d\n",
(long)bp, len);
#endif
if (bp == NULL || len < sizeof(*bp) || bp->bp_xid != d->xid) {
#ifdef DEBUG