summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/route.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-06-27 12:03:50 +0000
committerbrian <brian@FreeBSD.org>1998-06-27 12:03:50 +0000
commit6a5332c7c79dd1e6809f85f057a351c5f861749e (patch)
treea386301ec5dd09bbb7f26f0a6d1a58af9f87d614 /usr.sbin/ppp/route.c
parent0e8196a1ea13c1cc385e349ebf8dde5e70b1b7aa (diff)
downloadFreeBSD-src-6a5332c7c79dd1e6809f85f057a351c5f861749e.zip
FreeBSD-src-6a5332c7c79dd1e6809f85f057a351c5f861749e.tar.gz
Don't assume ``sizeof(u_long) == 4''
Submitted by: Theo
Diffstat (limited to 'usr.sbin/ppp/route.c')
-rw-r--r--usr.sbin/ppp/route.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/route.c b/usr.sbin/ppp/route.c
index 7fd0475..644e557 100644
--- a/usr.sbin/ppp/route.c
+++ b/usr.sbin/ppp/route.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: route.c,v 1.48 1998/06/15 19:06:55 brian Exp $
+ * $Id: route.c,v 1.49 1998/06/16 19:40:40 brian Exp $
*
*/
@@ -139,7 +139,7 @@ p_sockaddr(struct prompt *prompt, struct sockaddr *phost,
}
static struct bits {
- u_long b_mask;
+ u_int32_t b_mask;
char b_val;
} bits[] = {
{ RTF_UP, 'U' },
@@ -176,7 +176,7 @@ static struct bits {
#endif
static void
-p_flags(struct prompt *prompt, u_long f, int max)
+p_flags(struct prompt *prompt, u_int32_t f, int max)
{
char name[33], *flags;
register struct bits *p = bits;
OpenPOWER on IntegriCloud