Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/evbppc Appease -Wcast-qual



details:   https://anonhg.NetBSD.org/src/rev/a13a80cb2ff8
branches:  trunk
changeset: 581612:a13a80cb2ff8
user:      scw <scw%NetBSD.org@localhost>
date:      Fri Jun 03 11:15:25 2005 +0000

description:
Appease -Wcast-qual

diffstat:

 sys/arch/evbppc/evbppc/disksubr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 00e22ae9fed0 -r a13a80cb2ff8 sys/arch/evbppc/evbppc/disksubr.c
--- a/sys/arch/evbppc/evbppc/disksubr.c Fri Jun 03 11:14:20 2005 +0000
+++ b/sys/arch/evbppc/evbppc/disksubr.c Fri Jun 03 11:15:25 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disksubr.c,v 1.7 2003/08/07 16:27:23 agc Exp $ */
+/*     $NetBSD: disksubr.c,v 1.8 2005/06/03 11:15:25 scw Exp $ */
 
 /*
  * Copyright (c) 1982, 1986, 1988 Regents of the University of California.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.7 2003/08/07 16:27:23 agc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.8 2005/06/03 11:15:25 scw Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -63,7 +63,7 @@
        struct buf *bp;
        struct disklabel *dlp;
        struct dkbad *bdp;
-       char *msg = NULL;
+       const char *msg = NULL;
        int i;
 
        /* minimal requirements for archtypal disk label */



Home | Main Index | Thread Index | Old Index