summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/em28xx/em28xx-video.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-13 11:39:29 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-13 11:39:29 -0300
commit99a713aed39a24dc2f0ba5dd70f202757554c382 (patch)
treea121a86a0ab724bf6f1d899466eb0e98ba8f3e0b /linux/drivers/media/video/em28xx/em28xx-video.c
parente27b3b0f9894b8c45bf717f9945f9a8d59244b9e (diff)
downloadmediapointer-dvb-s2-99a713aed39a24dc2f0ba5dd70f202757554c382.tar.gz
mediapointer-dvb-s2-99a713aed39a24dc2f0ba5dd70f202757554c382.tar.bz2
em28xx: Fix some warnings
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/em28xx/em28xx-video.c')
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-video.c b/linux/drivers/media/video/em28xx/em28xx-video.c
index 27e95479d..06ecc3e3f 100644
--- a/linux/drivers/media/video/em28xx/em28xx-video.c
+++ b/linux/drivers/media/video/em28xx/em28xx-video.c
@@ -217,7 +217,7 @@ static void em28xx_copy_video(struct em28xx *dev,
lencopy = lencopy > remain ? remain : lencopy;
if((char*)startwrite + lencopy > (char*)outp + buf->vb.size) {
- em28xx_isocdbg("Overflow of %i bytes past buffer end (1)\n",
+ em28xx_isocdbg("Overflow of %zi bytes past buffer end (1)\n",
((char*)startwrite + lencopy) - ((char*)outp + buf->vb.size));
lencopy = remain = (char*)outp + buf->vb.size - (char*)startwrite;
}
@@ -237,7 +237,7 @@ static void em28xx_copy_video(struct em28xx *dev,
BUG_ON(lencopy <= 0);
if((char*)startwrite + lencopy > (char*)outp + buf->vb.size) {
- em28xx_isocdbg("Overflow of %i bytes past buffer end (2)\n",
+ em28xx_isocdbg("Overflow of %zi bytes past buffer end (2)\n",
((char*)startwrite + lencopy) - ((char*)outp + buf->vb.size));
lencopy = remain = (char*)outp + buf->vb.size - (char*)startwrite;
}