Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/makefs s/ulong/unsigned long/. ulong is for SysV c...



details:   https://anonhg.NetBSD.org/src/rev/6d4da307b8e5
branches:  trunk
changeset: 542357:6d4da307b8e5
user:      uwe <uwe%NetBSD.org@localhost>
date:      Mon Jan 27 01:34:09 2003 +0000

description:
s/ulong/unsigned long/.  ulong is for SysV compatibility, there's no
point in using it in our code.  This change makes makefs(8) compile on
host systems without ulong.

diffstat:

 usr.sbin/makefs/walk.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r d58c1e4a96ef -r 6d4da307b8e5 usr.sbin/makefs/walk.c
--- a/usr.sbin/makefs/walk.c    Mon Jan 27 01:29:06 2003 +0000
+++ b/usr.sbin/makefs/walk.c    Mon Jan 27 01:34:09 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: walk.c,v 1.10 2002/10/19 20:33:20 provos Exp $ */
+/*     $NetBSD: walk.c,v 1.11 2003/01/27 01:34:09 uwe Exp $    */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -77,7 +77,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(__lint)
-__RCSID("$NetBSD: walk.c,v 1.10 2002/10/19 20:33:20 provos Exp $");
+__RCSID("$NetBSD: walk.c,v 1.11 2003/01/27 01:34:09 uwe Exp $");
 #endif /* !__lint */
 
 #include <sys/param.h>
@@ -418,8 +418,8 @@
 #if HAVE_STRUCT_STAT_ST_FLAGS
        if (specnode->flags & F_FLAGS) {
                ASEPRINT("flags", "%#lX",
-                   (ulong)dirnode->inode->st.st_flags,
-                   (ulong)specnode->st_flags);
+                   (unsigned long)dirnode->inode->st.st_flags,
+                   (unsigned long)specnode->st_flags);
                dirnode->inode->st.st_flags = specnode->st_flags;
        }
 #endif



Home | Main Index | Thread Index | Old Index