Source-Changes-HG archive

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

[src/yamt-km]: src/sys/arch/x68k/x68k fix a type error.



details:   https://anonhg.NetBSD.org/src/rev/e10d3156f8e1
branches:  yamt-km
changeset: 573360:e10d3156f8e1
user:      yamt <yamt%NetBSD.org@localhost>
date:      Wed Feb 23 10:07:48 2005 +0000

description:
fix a type error.

diffstat:

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

diffs (27 lines):

diff -r 9f6260e7b54a -r e10d3156f8e1 sys/arch/x68k/x68k/pmap_bootstrap.c
--- a/sys/arch/x68k/x68k/pmap_bootstrap.c       Wed Feb 23 10:05:48 2005 +0000
+++ b/sys/arch/x68k/x68k/pmap_bootstrap.c       Wed Feb 23 10:07:48 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_bootstrap.c,v 1.27.2.3 2005/02/23 10:05:48 yamt Exp $     */
+/*     $NetBSD: pmap_bootstrap.c,v 1.27.2.4 2005/02/23 10:07:48 yamt Exp $     */
 
 /* 
  * Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.27.2.3 2005/02/23 10:05:48 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.27.2.4 2005/02/23 10:07:48 yamt Exp $");
 
 #include "opt_m680x0.h"
 
@@ -322,7 +322,7 @@
 #define        PTE2VA(pte)     m68k_ptob(pte - ((pt_entry_t *)kptpa))
 
        protopte = INTIOBASE | PG_RW | PG_CI | PG_V;
-       RELOC(IODEVbase, char *) = PTE2VA(pte);
+       RELOC(IODEVbase, char *) = (char *)PTE2VA(pte);
        epte = &pte[IIOMAPSIZE];
        while (pte < epte) {
                *pte++ = protopte;



Home | Main Index | Thread Index | Old Index