summaryrefslogtreecommitdiff
path: root/sbin/ipf
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-23 01:16:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-23 01:16:17 +0000
commit88dde546af4f773e6efadb5e5de21ad53b57c5e2 (patch)
treee028b8ab0def3c0e786f7c41856e0f7b1211ad79 /sbin/ipf
parent32b880d3b2bd093e0b8def213e9ebf259d8166cb (diff)
sizeof(int) != sizeof(long)
Diffstat (limited to 'sbin/ipf')
-rw-r--r--sbin/ipf/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipf/parse.c b/sbin/ipf/parse.c
index 8dc78accd5b..496139dba00 100644
--- a/sbin/ipf/parse.c
+++ b/sbin/ipf/parse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.c,v 1.12 1997/04/19 19:08:29 kstailey Exp $ */
+/* $OpenBSD: parse.c,v 1.13 1997/06/23 01:16:14 deraadt Exp $ */
/*
* (C)opyright 1993-1996 by Darren Reed.
*
@@ -567,7 +567,7 @@ int *resolved;
}
return np->n_net;
}
- return *(u_long *)hp->h_addr;
+ return *(u_int32_t *)hp->h_addr;
}
/*