]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: sscape: Use correct format identifier for size_t
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Mon, 11 Apr 2016 13:25:52 +0000 (09:25 -0400)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Apr 2016 14:06:17 +0000 (16:06 +0200)
commitdc5027a72369f4979a48d628ddebeeb974b7eb37
tree3f9eea569721d249fdbc95d7cf48e4c7fd11289d
parentb4203ff5464da00b7812e7b480192745b0d66bbf
ALSA: sscape: Use correct format identifier for size_t

The 'size' member of a struct firmware is passed to snd_printk with a
respective format string using the %d identifier. The 'size' member is
of type size_t, but format identifier %d indicates a signed int data
type. This patch replaces the %d format identifier with the correct %zu
format identifier for size_t data types.

Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/sscape.c