From be02f6d68d051d1d13946d023fc4b15417234851 Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 4 Aug 2003 00:26:09 +0000 Subject: [PATCH] avoid the pruned type gcc-3.x warning. --- sys/dev/isa/wds.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/isa/wds.c b/sys/dev/isa/wds.c index 107d41480ebf..a21a7724b389 100644 --- a/sys/dev/isa/wds.c +++ b/sys/dev/isa/wds.c @@ -1,4 +1,4 @@ -/* $NetBSD: wds.c,v 1.55 2003/05/14 12:43:26 wiz Exp $ */ +/* $NetBSD: wds.c,v 1.56 2003/08/04 00:26:09 christos Exp $ */ /* * XXX @@ -86,7 +86,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: wds.c,v 1.55 2003/05/14 12:43:26 wiz Exp $"); +__KERNEL_RCSID(0, "$NetBSD: wds.c,v 1.56 2003/08/04 00:26:09 christos Exp $"); #include "opt_ddb.h" @@ -636,7 +636,7 @@ wds_create_scbs(sc, mem, size) } error = bus_dmamem_map(sc->sc_dmat, &seg, rseg, size, - (caddr_t *)&scb, BUS_DMA_NOWAIT|BUS_DMA_COHERENT); + (void *)&scb, BUS_DMA_NOWAIT|BUS_DMA_COHERENT); if (error) { printf("%s: can't map memory for scbs\n", sc->sc_dev.dv_xname);