From e1614ccdf9dfc9640c83c678cf1644f596e60fff Mon Sep 17 00:00:00 2001 From: cl Date: Mon, 29 Sep 2003 01:20:41 +0000 Subject: [PATCH] Cast through (void *) to appease gcc3. --- sys/arch/atari/dev/hdfd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/atari/dev/hdfd.c b/sys/arch/atari/dev/hdfd.c index 8c41365b4982..1b3b3491b3c9 100644 --- a/sys/arch/atari/dev/hdfd.c +++ b/sys/arch/atari/dev/hdfd.c @@ -1,4 +1,4 @@ -/* $NetBSD: hdfd.c,v 1.41 2003/08/07 16:26:59 agc Exp $ */ +/* $NetBSD: hdfd.c,v 1.42 2003/09/29 01:20:41 cl Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -91,7 +91,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: hdfd.c,v 1.41 2003/08/07 16:26:59 agc Exp $"); +__KERNEL_RCSID(0, "$NetBSD: hdfd.c,v 1.42 2003/09/29 01:20:41 cl Exp $"); #include "opt_ddb.h" @@ -340,7 +340,7 @@ fdcprobe(parent, cfp, aux) return 0; if (bus_space_map(mb_tag, FD_IOBASE, FD_IOSIZE, 0, - (caddr_t*)&fdio_addr)) { + (caddr_t*)(void *)&fdio_addr)) { printf("fdcprobe: cannot map io-area\n"); mb_free_bus_space_tag(mb_tag); return (0);