Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/net Fix a LP64 problem. Patch from Minoura Makoto i...



details:   https://anonhg.NetBSD.org/src/rev/f2e171d6d4ef
branches:  trunk
changeset: 522272:f2e171d6d4ef
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Feb 14 19:53:00 2002 +0000

description:
Fix a LP64 problem. Patch from Minoura Makoto in PR lib/15596.

diffstat:

 lib/libc/net/inet_makeaddr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9210134ede16 -r f2e171d6d4ef lib/libc/net/inet_makeaddr.c
--- a/lib/libc/net/inet_makeaddr.c      Thu Feb 14 19:17:32 2002 +0000
+++ b/lib/libc/net/inet_makeaddr.c      Thu Feb 14 19:53:00 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: inet_makeaddr.c,v 1.8 2000/01/22 22:19:15 mycroft Exp $        */
+/*     $NetBSD: inet_makeaddr.c,v 1.9 2002/02/14 19:53:00 martin Exp $ */
 
 /*
  * Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)inet_makeaddr.c    8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: inet_makeaddr.c,v 1.8 2000/01/22 22:19:15 mycroft Exp $");
+__RCSID("$NetBSD: inet_makeaddr.c,v 1.9 2002/02/14 19:53:00 martin Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -59,7 +59,7 @@
 inet_makeaddr(net, host)
        u_long net, host;
 {
-       u_long addr;
+       in_addr_t addr;
 
        if (net < 128)
                addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST);



Home | Main Index | Thread Index | Old Index