Skip to content

Commit

Permalink
V4L/DVB: drivers/media/video/cx18/cx18-alsa-pcm.c: fix printk warning
Browse files Browse the repository at this point in the history
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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Andrew Morton authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent 407df29 commit c2312f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/cx18/cx18-alsa-pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c2312f6

Please sign in to comment.