zoran: fix printk format types:

drivers/media/video/zoran_driver.c:3763: warning: long long unsigned int 
format, long unsigned int arg (arg 3)
drivers/media/video/zoran_driver.c:3775: warning: long long unsigned int 
format, long unsigned int arg (arg 3)
drivers/media/video/zoran_driver.c:4109: warning: long long unsigned int 
format, long unsigned int arg (arg 3)

Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>

diffstat:=
 drivers/media/video/zoran_driver.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -Naurp ./drivers/media/video/zoran_driver.c~zoran_printk 
./drivers/media/video/zoran_driver.c
--- ./drivers/media/video/zoran_driver.c~zoran_printk   2005-03-01 
23:38:17.000000000 -0800
+++ ./drivers/media/video/zoran_driver.c        2005-03-02 13:26:05.466043608 
-0800
@@ -3761,7 +3761,7 @@ zoran_do_ioctl (struct inode *inode,
                v4l2_std_id *std = arg;
 
                dprintk(3, KERN_DEBUG "%s: VIDIOC_S_STD - norm=0x%llx\n",
-                       ZR_DEVNAME(zr), *std);
+                       ZR_DEVNAME(zr), (unsigned long long)*std);
 
                if (*std == V4L2_STD_PAL)
                        norm = VIDEO_MODE_PAL;
@@ -3775,7 +3775,7 @@ zoran_do_ioctl (struct inode *inode,
                        dprintk(1,
                                KERN_ERR
                                "%s: VIDIOC_S_STD - invalid norm 0x%llx\n",
-                               ZR_DEVNAME(zr), *std);
+                               ZR_DEVNAME(zr), (unsigned long long)*std);
                        return -EINVAL;
                }
 
@@ -4108,7 +4108,7 @@ zoran_do_ioctl (struct inode *inode,
 
                dprintk(3,
                        KERN_DEBUG "%s: VIDIOC_QUERY_STD - std=0x%llx\n",
-                       ZR_DEVNAME(zr), *std);
+                       ZR_DEVNAME(zr), (unsigned long long)*std);
 
                if (*std == V4L2_STD_ALL || *std == V4L2_STD_NTSC ||
                    *std == V4L2_STD_PAL || (*std == V4L2_STD_SECAM &&

---


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to