]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/vivi.c
V4L/DVB (4510): Fix signedness error in drivers/media/video/vivi.c
[linux-2.6-omap-h63xx.git] / drivers / media / video / vivi.c
index 841884af0cc03b56a992aa1084740dfa1937c3b6..06b44e1dda1d4be1786ad53f89d17a92124d7287 100644 (file)
@@ -992,7 +992,8 @@ static int vidiocgmbuf (struct file *file, void *priv, struct video_mbuf *mbuf)
        struct vivi_fh  *fh=priv;
        struct videobuf_queue *q=&fh->vb_vidq;
        struct v4l2_requestbuffers req;
-       unsigned int i, ret;
+       unsigned int i;
+       int ret;
 
        req.type   = q->type;
        req.count  = 8;