From 07393645363a087337d461b4726bf187be72c918 Mon Sep 17 00:00:00 2001 From: thorpej Date: Mon, 25 Nov 2002 01:43:09 +0000 Subject: [PATCH] Avoid a strict-alias warning. --- sys/dev/ic/bha.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/ic/bha.c b/sys/dev/ic/bha.c index c7879e386e83..f0884702f51b 100644 --- a/sys/dev/ic/bha.c +++ b/sys/dev/ic/bha.c @@ -1,4 +1,4 @@ -/* $NetBSD: bha.c,v 1.49 2002/04/05 18:27:51 bouyer Exp $ */ +/* $NetBSD: bha.c,v 1.50 2002/11/25 01:43:09 thorpej Exp $ */ /*- * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc. @@ -53,7 +53,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: bha.c,v 1.49 2002/04/05 18:27:51 bouyer Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bha.c,v 1.50 2002/11/25 01:43:09 thorpej Exp $"); #include "opt_ddb.h" @@ -1818,7 +1818,7 @@ bha_create_ccbs(sc, count) } error = bus_dmamem_map(sc->sc_dmat, &seg, rseg, PAGE_SIZE, - (caddr_t *)&bcg, + (void *)&bcg, sc->sc_dmaflags | BUS_DMA_NOWAIT | BUS_DMA_COHERENT); if (error) { printf("%s: unable to map CCB group, error = %d\n",