diff options
author | mortimer <mortimer@cvs.openbsd.org> | 2020-06-17 00:03:14 +0000 |
---|---|---|
committer | mortimer <mortimer@cvs.openbsd.org> | 2020-06-17 00:03:14 +0000 |
commit | 2164eb98fe836ec2e6cc0f229f91d737ffc7ee19 (patch) | |
tree | 15f0b1c5abab170ddfa90459b36adfc7978682e0 | |
parent | 627f909cf1e797513598dd1e3860fb0b254774e1 (diff) |
Do not do logical negation of a bitshifted field.
Prompted by warning from clang 10.
ok patrick@
-rw-r--r-- | sys/dev/pci/emuxki.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/emuxki.c b/sys/dev/pci/emuxki.c index 6b637b8bbf9..c07cf9fe9f1 100644 --- a/sys/dev/pci/emuxki.c +++ b/sys/dev/pci/emuxki.c @@ -1,4 +1,4 @@ -/* $OpenBSD: emuxki.c,v 1.53 2018/09/13 04:07:20 miko Exp $ */ +/* $OpenBSD: emuxki.c,v 1.54 2020/06/17 00:03:13 mortimer Exp $ */ /* $NetBSD: emuxki.c,v 1.1 2001/10/17 18:39:41 jdolecek Exp $ */ /*- @@ -1490,7 +1490,7 @@ emuxki_voice_new(struct emuxki_softc *sc, u_int8_t use) goto skip_initialize; voice->sc = sc; - voice->state = !EMU_VOICE_STATE_STARTED; + voice->state = 0; voice->stereo = EMU_VOICE_STEREO_NOTSET; voice->b16 = 0; voice->sample_rate = 0; |