From: Andrew Morton Date: Tue, 2 Feb 2010 22:40:49 +0000 (-0300) Subject: V4L/DVB: drivers/media/video/cx18/cx18-alsa-pcm.c: fix printk warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c2312f60d741df833abf48fee4a30aa523e55a58;p=linux-beck.git 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 Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/cx18/cx18-alsa-pcm.c b/drivers/media/video/cx18/cx18-alsa-pcm.c index cfa512112ca0..2bd312daeb1e 100644 --- a/drivers/media/video/cx18/cx18-alsa-pcm.c +++ b/drivers/media/video/cx18/cx18-alsa-pcm.c @@ -79,7 +79,7 @@ void cx18_alsa_announce_pcm_data(struct snd_cx18_card *cxsc, u8 *pcm_data, int period_elapsed = 0; 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); substream = cxsc->capture_pcm_substream;