Commit c2312f60 authored by Andrew Morton's avatar Andrew Morton Committed by Mauro Carvalho Chehab

V4L/DVB: drivers/media/video/cx18/cx18-alsa-pcm.c: fix printk warning

drivers/media/video/cx18/cx18-alsa-pcm.c: In function 'cx18_alsa_announce_pcm_data':
drivers/media/video/cx18/cx18-alsa-pcm.c:82: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'

Cc: Andy Walls <awalls@radix.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 407df293
...@@ -79,7 +79,7 @@ void cx18_alsa_announce_pcm_data(struct snd_cx18_card *cxsc, u8 *pcm_data, ...@@ -79,7 +79,7 @@ void cx18_alsa_announce_pcm_data(struct snd_cx18_card *cxsc, u8 *pcm_data,
int period_elapsed = 0; int period_elapsed = 0;
int length; int length;
dprintk("cx18 alsa announce ptr=%p data=%p num_bytes=%d\n", cxsc, dprintk("cx18 alsa announce ptr=%p data=%p num_bytes=%zd\n", cxsc,
pcm_data, num_bytes); pcm_data, num_bytes);
substream = cxsc->capture_pcm_substream; substream = cxsc->capture_pcm_substream;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment