summaryrefslogtreecommitdiff
path: root/sys/arch/atari/dev
diff options
context:
space:
mode:
authortsutsui <tsutsui@NetBSD.org>2007-03-06 14:10:07 +0000
committertsutsui <tsutsui@NetBSD.org>2007-03-06 14:10:07 +0000
commit1f79355c9bf85ef4743ae7b2f2239ecbde8d3715 (patch)
treec7971a3e1800c87e845632bae06d953e46e995a4 /sys/arch/atari/dev
parentbc4a41fd8b73b0c2acf5de669ee6743b0e300eb4 (diff)
Add (char *) cast to appease -Wpointer-arith.
Diffstat (limited to 'sys/arch/atari/dev')
-rw-r--r--sys/arch/atari/dev/hdfd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/atari/dev/hdfd.c b/sys/arch/atari/dev/hdfd.c
index 0ad41392c2d..e58c1161175 100644
--- a/sys/arch/atari/dev/hdfd.c
+++ b/sys/arch/atari/dev/hdfd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hdfd.c,v 1.53 2007/03/04 05:59:40 christos Exp $ */
+/* $NetBSD: hdfd.c,v 1.54 2007/03/06 14:10:07 tsutsui Exp $ */
/*-
* Copyright (c) 1996 Leo Weppelman
@@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hdfd.c,v 1.53 2007/03/04 05:59:40 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hdfd.c,v 1.54 2007/03/06 14:10:07 tsutsui Exp $");
#include "opt_ddb.h"
@@ -1090,7 +1090,7 @@ loop:
/*
* Setup pseudo-DMA address & count
*/
- fddmaaddr = bp->b_data + fd->sc_skip;
+ fddmaaddr = (char *)bp->b_data + fd->sc_skip;
fddmalen = fd->sc_nbytes;
wrt_fdc_reg(fdctl, type->rate);