Source-Changes-HG archive

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

[src/netbsd-3-0]: src/distrib/utils/sysinst Pull up following revision(s) (re...



details:   https://anonhg.NetBSD.org/src/rev/9459a540d336
branches:  netbsd-3-0
changeset: 579275:9459a540d336
user:      riz <riz%NetBSD.org@localhost>
date:      Sat Aug 12 19:17:42 2006 +0000

description:
Pull up following revision(s) (requested by dsl in ticket #1462):
        distrib/utils/sysinst/label.c: revision 1.48
pointer signedness comparison fixes

diffstat:

 distrib/utils/sysinst/label.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 6a883a048b5e -r 9459a540d336 distrib/utils/sysinst/label.c
--- a/distrib/utils/sysinst/label.c     Fri Aug 11 04:59:55 2006 +0000
+++ b/distrib/utils/sysinst/label.c     Sat Aug 12 19:17:42 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: label.c,v 1.47 2005/03/14 21:37:43 dsl Exp $   */
+/*     $NetBSD: label.c,v 1.47.4.1 2006/08/12 19:17:42 riz Exp $       */
 
 /*
  * Copyright 1997 Jonathan Stone
@@ -36,7 +36,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: label.c,v 1.47 2005/03/14 21:37:43 dsl Exp $");
+__RCSID("$NetBSD: label.c,v 1.47.4.1 2006/08/12 19:17:42 riz Exp $");
 #endif
 
 #include <sys/types.h>
@@ -724,7 +724,7 @@
                case FS_UFS1_MAGIC_SWAPPED:
                        if (!(SB->fs_old_flags & FS_FLAGS_UPDATED)) {
                                if (*sbp == SBLOCK_UFS1)
-                                       mnt = SB->fs_fsmnt;
+                                       mnt = (const char *) SB->fs_fsmnt;
                                continue;
                        }
                        /* FALLTHROUGH */
@@ -732,7 +732,7 @@
                case FS_UFS2_MAGIC_SWAPPED:
                        /* Check we have the main superblock */
                        if (SB->fs_sblockloc == *sbp)
-                               mnt = SB->fs_fsmnt;
+                               mnt = (const char *) SB->fs_fsmnt;
                        continue;
                }
 



Home | Main Index | Thread Index | Old Index