Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JrXWm-0003kY-FM for qemu-devel@nongnu.org; Thu, 01 May 2008 08:04:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JrXWk-0003kA-T1 for qemu-devel@nongnu.org; Thu, 01 May 2008 08:04:44 -0400 Received: from [199.232.76.173] (port=58690 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JrXWk-0003k1-My for qemu-devel@nongnu.org; Thu, 01 May 2008 08:04:42 -0400 Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JrXWk-0005AC-GR for qemu-devel@nongnu.org; Thu, 01 May 2008 08:04:42 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1JrXWe-0001DV-3E for qemu-devel@nongnu.org; Thu, 01 May 2008 12:04:36 +0000 Received: from pbrook by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1JrXWd-0001Cy-Of for qemu-devel@nongnu.org; Thu, 01 May 2008 12:04:35 +0000 MIME-Version: 1.0 Errors-To: pbrook Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Paul Brook Message-Id: Date: Thu, 01 May 2008 12:04:35 +0000 Subject: [Qemu-devel] [4291] Fix incorrect argument types. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 4291 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4291 Author: pbrook Date: 2008-05-01 12:04:35 +0000 (Thu, 01 May 2008) Log Message: ----------- Fix incorrect argument types. Modified Paths: -------------- trunk/target-arm/helper.c Modified: trunk/target-arm/helper.c =================================================================== --- trunk/target-arm/helper.c 2008-04-29 16:18:58 UTC (rev 4290) +++ trunk/target-arm/helper.c 2008-05-01 12:04:35 UTC (rev 4291) @@ -1985,7 +1985,7 @@ #include "op_addsub.h" /* Unsigned saturating arithmetic. */ -static inline uint16_t add16_usat(uint16_t a, uint8_t b) +static inline uint16_t add16_usat(uint16_t a, uint16_t b) { uint16_t res; res = a + b; @@ -1994,7 +1994,7 @@ return res; } -static inline uint16_t sub16_usat(uint16_t a, uint8_t b) +static inline uint16_t sub16_usat(uint16_t a, uint16_t b) { if (a < b) return a - b;