Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/powerpc Adapt to const additions.



details:   https://anonhg.NetBSD.org/src/rev/d3f163b1b7b8
branches:  trunk
changeset: 581525:d3f163b1b7b8
user:      he <he%NetBSD.org@localhost>
date:      Thu Jun 02 10:16:31 2005 +0000

description:
Adapt to const additions.

diffstat:

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

diffs (27 lines):

diff -r 3660837bbf6d -r d3f163b1b7b8 sys/arch/powerpc/powerpc/trap.c
--- a/sys/arch/powerpc/powerpc/trap.c   Thu Jun 02 10:08:36 2005 +0000
+++ b/sys/arch/powerpc/powerpc/trap.c   Thu Jun 02 10:16:31 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.106 2005/01/03 00:03:25 chs Exp $   */
+/*     $NetBSD: trap.c,v 1.107 2005/06/02 10:16:31 he Exp $    */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.106 2005/01/03 00:03:25 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.107 2005/06/02 10:16:31 he Exp $");
 
 #include "opt_altivec.h"
 #include "opt_ddb.h"
@@ -911,7 +911,7 @@
 
  out:
        if (done != NULL)
-               *done = kp - (char *) kaddr;
+               *done = kp - (const char*)kaddr;
  out2:
        curpcb->pcb_onfault = 0;
        return rv;



Home | Main Index | Thread Index | Old Index