diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-03-01 16:06:01 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-03-01 16:06:01 +0000 |
commit | ad5abb2b3d4b11afac4300e06784a3cfc34c19dd (patch) | |
tree | f58f5797e233baccf2374857ee7a5c59a642a4e5 /sys | |
parent | f10666784427939238b04079d24e12de1f4e27a3 (diff) |
GCC 2.8 -Wall
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amiga/amiga/cc.c | 5 |
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 */ |