diff mbox

zoran: match parameter signedness of g_input_status

Message ID 4B5A9E0C.8090907@freemail.hu (mailing list archive)
State Accepted
Headers show

Commit Message

Németh Márton Jan. 23, 2010, 6:58 a.m. UTC
None
diff mbox

Patch

diff -r 2a50a0a1c951 linux/drivers/media/video/zoran/zoran_device.c
--- a/linux/drivers/media/video/zoran/zoran_device.c	Sat Jan 23 00:14:32 2010 -0200
+++ b/linux/drivers/media/video/zoran/zoran_device.c	Sat Jan 23 07:57:09 2010 +0100
@@ -1197,7 +1197,8 @@ 
 static void zoran_restart(struct zoran *zr)
 {
 	/* Now the stat_comm buffer is ready for restart */
-	int status = 0, mode;
+	unsigned int status = 0;
+	int mode;

 	if (zr->codec_mode == BUZ_MODE_MOTION_COMPRESS) {
 		decoder_call(zr, video, g_input_status, &status);
diff -r 2a50a0a1c951 linux/drivers/media/video/zoran/zoran_driver.c
--- a/linux/drivers/media/video/zoran/zoran_driver.c	Sat Jan 23 00:14:32 2010 -0200
+++ b/linux/drivers/media/video/zoran/zoran_driver.c	Sat Jan 23 07:57:09 2010 +0100
@@ -1452,7 +1452,7 @@ 
 	}

 	if (norm == V4L2_STD_ALL) {
-		int status = 0;
+		unsigned int status = 0;
 		v4l2_std_id std = 0;

 		decoder_call(zr, video, querystd, &std);