Skip to content

Commit

Permalink
ALSA: lola: fix format type mismatch in sound/pci/lola/lola_proc.c
Browse files Browse the repository at this point in the history
Signed-off-by: Toralf Förster <toralf.foerster@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Toralf Förster authored and Takashi Iwai committed May 21, 2014
1 parent e7fc496 commit 2d3a277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/lola/lola_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ static void lola_proc_codec_rw_write(struct snd_info_entry *entry,
char line[64];
unsigned int id, verb, data, extdata;
while (!snd_info_get_line(buffer, line, sizeof(line))) {
if (sscanf(line, "%i %i %i %i", &id, &verb, &data, &extdata) != 4)
if (sscanf(line, "%u %u %u %u", &id, &verb, &data, &extdata) != 4)
continue;
lola_codec_read(chip, id, verb, data, extdata,
&chip->debug_res,
Expand Down

0 comments on commit 2d3a277

Please sign in to comment.