* [Qemu-devel] [4291] Fix incorrect argument types.
@ 2008-05-01 12:04 Paul Brook
0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2008-05-01 12:04 UTC (permalink / raw)
To: qemu-devel
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-01 12:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-01 12:04 [Qemu-devel] [4291] Fix incorrect argument types Paul Brook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).