-/* $OpenBSD: parse.c,v 1.10 1997/02/26 15:05:36 kstailey Exp $ */
+/* $OpenBSD: parse.c,v 1.11 1997/04/06 19:52:11 millert Exp $ */
/*
* (C)opyright 1993-1996 by Darren Reed.
*
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(' ');
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)
#if !defined(lint) && defined(LIBC_SCCS)
static char sccsid[] = "@(#)fils.c 1.21 4/20/96 (C) 1993-1996 Darren Reed";
-static char rcsid[] = "$Id: fils.c,v 1.9 1997/02/17 09:13:11 deraadt Exp $";
+static char rcsid[] = "$Id: fils.c,v 1.10 1997/04/06 19:52:16 millert Exp $";
#endif
#ifdef _PATH_UNIX
#define VMUNIX _PATH_UNIX
FPRINTF(stderr, "showlist:opts %#x i %d\n", opts, i);
if (opts & OPT_VERBOSE)
- PRINTF("fp %#x set %d\n", (u_int)fp, set);
+ PRINTF("fp %#x set %d\n", (u_long)fp, set);
if (!fp) {
FPRINTF(stderr, "empty list for %s%s\n",
(opts & OPT_INACTIVE) ? "inactive " : "", filters[i]);