summaryrefslogtreecommitdiff
path: root/sys/arch/amiga
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-03-01 16:06:01 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-03-01 16:06:01 +0000
commitad5abb2b3d4b11afac4300e06784a3cfc34c19dd (patch)
treef58f5797e233baccf2374857ee7a5c59a642a4e5 /sys/arch/amiga
parentf10666784427939238b04079d24e12de1f4e27a3 (diff)
GCC 2.8 -Wall
Diffstat (limited to 'sys/arch/amiga')
-rw-r--r--sys/arch/amiga/amiga/cc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amiga/amiga/cc.c b/sys/arch/amiga/amiga/cc.c
index 33cf96103d5..77b11e26bb6 100644
--- a/sys/arch/amiga/amiga/cc.c
+++ b/sys/arch/amiga/amiga/cc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cc.c,v 1.6 1997/09/18 13:39:32 niklas Exp $ */
+/* $OpenBSD: cc.c,v 1.7 1998/03/01 16:06:00 niklas Exp $ */
/* $NetBSD: cc.c,v 1.11 1997/06/23 23:46:23 is Exp $ */
/*
@@ -456,11 +456,12 @@ play_sample(len, data, period, volume, channels, count)
/* check to see, whether all channels are free */
for (i=0; i < 4; i++) {
- if ((1 << i) & dmabits)
+ if ((1 << i) & dmabits) {
if (channel[i].isaudio)
return; /* allocated */
else
channel[i].isaudio = -1; /* allocate */
+ }
}
custom.dmacon = dmabits; /* turn off the correct channels */