diff options
author | Tim Blechmann <tim@klingt.org> | 2010-10-31 21:46:19 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-11-01 12:28:35 +0300 |
commit | f7467452291f7c9e5e1271e8c8e45b77f34b1257 (patch) | |
tree | db99575320a7a25d8165fd45f43001c397cab83a /sound/pci/lx6464es/lx6464es.c | |
parent | bb617ee3f82ba94072c8b08043d9166bbfe397a2 (diff) | |
download | linux-f7467452291f7c9e5e1271e8c8e45b77f34b1257.tar.xz |
ALSA: lx6464es - make 1 bit signed bitfield unsigned
converts a 1 bit signed bitfield to an unsigned.
Reported-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/lx6464es/lx6464es.c')
-rw-r--r-- | sound/pci/lx6464es/lx6464es.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/lx6464es/lx6464es.c b/sound/pci/lx6464es/lx6464es.c index ef9af3f4ace2..1bd7a540fd49 100644 --- a/sound/pci/lx6464es/lx6464es.c +++ b/sound/pci/lx6464es/lx6464es.c @@ -425,7 +425,7 @@ exit: static void lx_trigger_start(struct lx6464es *chip, struct lx_stream *lx_stream) { struct snd_pcm_substream *substream = lx_stream->stream; - const int is_capture = lx_stream->is_capture; + const unsigned int is_capture = lx_stream->is_capture; int err; @@ -473,7 +473,7 @@ static void lx_trigger_start(struct lx6464es *chip, struct lx_stream *lx_stream) static void lx_trigger_stop(struct lx6464es *chip, struct lx_stream *lx_stream) { - const int is_capture = lx_stream->is_capture; + const unsigned int is_capture = lx_stream->is_capture; int err; snd_printd(LXP "stopping: stopping stream\n"); |