From patchwork Sat Jan 23 06:58:20 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TsODwqltZXRoIE3Dg8KhcnRvbg==?= X-Patchwork-Id: 74884 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0N6wSoZ005062 for ; Sat, 23 Jan 2010 06:58:28 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751760Ab0AWG61 (ORCPT ); Sat, 23 Jan 2010 01:58:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751181Ab0AWG60 (ORCPT ); Sat, 23 Jan 2010 01:58:26 -0500 Received: from mail02a.mail.t-online.hu ([84.2.40.7]:52008 "EHLO mail02a.mail.t-online.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751760Ab0AWG60 (ORCPT ); Sat, 23 Jan 2010 01:58:26 -0500 Received: from [192.168.1.67] (dsl51B659B2.pool.t-online.hu [81.182.89.178]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail02a.mail.t-online.hu (Postfix) with ESMTPSA id B067625C9FB; Sat, 23 Jan 2010 07:56:07 +0100 (CET) Message-ID: <4B5A9E0C.8090907@freemail.hu> Date: Sat, 23 Jan 2010 07:58:20 +0100 From: =?UTF-8?B?TsOpbWV0aCBNw6FydG9u?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.8.1.21) Gecko/20090402 SeaMonkey/1.1.16 MIME-Version: 1.0 To: V4L Mailing List , mjpeg-users@lists.sourceforge.net Subject: [PATCH] zoran: match parameter signedness of g_input_status X-DCC-mail.t-online.hu-Metrics: mail02a.mail.t-online.hu 32711; Body=2 Fuz1=2 Fuz2=2 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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);