diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-08-24 18:29:40 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-08-24 18:29:40 +0000 |
commit | d17fbde54f7aea90aa0f18587bf874ee4f649ad6 (patch) | |
tree | 3d2d21221844be9e3d08d89d4f08a31a89460378 | |
parent | e13b55fb140464e1e980486afbe1478c367dc7ff (diff) |
64bit fix, cast pointers to long, not int.
-rw-r--r-- | sbin/ipf/parse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ipf/parse.c b/sbin/ipf/parse.c index b9eef32bfd6..5f4b4e5b57a 100644 --- a/sbin/ipf/parse.c +++ b/sbin/ipf/parse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.c,v 1.15 1997/06/24 05:37:35 millert Exp $ */ +/* $OpenBSD: parse.c,v 1.16 1997/08/24 18:29:39 millert Exp $ */ /* * (C)opyright 1993-1996 by Darren Reed. * @@ -461,7 +461,7 @@ char *tag; frdest_t *fdp; { (void)printf("%s %s%s", tag, fdp->fd_ifname, - (fdp->fd_ifp || (int)fdp->fd_ifp == -1) ? "" : "(!)"); + (fdp->fd_ifp || (long)fdp->fd_ifp == -1) ? "" : "(!)"); if (fdp->fd_ip.s_addr) (void)printf(":%s", inet_ntoa(fdp->fd_ip)); putchar(' '); @@ -1130,7 +1130,7 @@ struct frentry *fp; if (*fp->fr_ifname) { (void)printf("on %s%s ", fp->fr_ifname, - (fp->fr_ifa || (int)fp->fr_ifa == -1) ? "" : "(!)"); + (fp->fr_ifa || (long)fp->fr_ifa == -1) ? "" : "(!)"); if (*fp->fr_dif.fd_ifname) print_toif("dup-to", &fp->fr_dif); if (*fp->fr_tif.fd_ifname) |