Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mac68k/mac68k Cast through (void *) to appease gcc3.



details:   https://anonhg.NetBSD.org/src/rev/3c3570e92709
branches:  trunk
changeset: 552635:3c3570e92709
user:      cl <cl%NetBSD.org@localhost>
date:      Sun Sep 28 22:56:58 2003 +0000

description:
Cast through (void *) to appease gcc3.

diffstat:

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

diffs (27 lines):

diff -r 7be06dbb8b5d -r 3c3570e92709 sys/arch/mac68k/mac68k/macrom.c
--- a/sys/arch/mac68k/mac68k/macrom.c   Sun Sep 28 22:24:09 2003 +0000
+++ b/sys/arch/mac68k/mac68k/macrom.c   Sun Sep 28 22:56:58 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: macrom.c,v 1.51 2003/07/15 02:43:21 lukem Exp $        */
+/*     $NetBSD: macrom.c,v 1.52 2003/09/28 22:56:58 cl Exp $   */
 
 /*-
  * Copyright (C) 1994  Bradley A. Grantham
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: macrom.c,v 1.51 2003/07/15 02:43:21 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: macrom.c,v 1.52 2003/09/28 22:56:58 cl Exp $");
 
 #include "opt_adb.h"
 #include "opt_ddb.h"
@@ -957,7 +957,7 @@
        jDTInstall = (caddr_t)mrg_DTInstall;
 
        /* AV ROMs want this low memory vector to point to a jump table */
-       InitEgretJTVec = (u_int32_t **)&mrg_AVInitEgretJT;
+       InitEgretJTVec = (u_int32_t **)(void *)&mrg_AVInitEgretJT;
 
        switch (mach_cputype()) {
                case MACH_68020:        CPUFlag = 2;    break;



Home | Main Index | Thread Index | Old Index