diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-01 12:04:35 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-01 12:04:35 +0000 |
commit | 460a09c1fbf59754904a086977f5cc70f278f498 (patch) | |
tree | 82ffee72231ee80d411da0aea9618cb2dc27b9cc /target-arm | |
parent | cefec4f5dc137427a92d927cb1d3347980f28d07 (diff) | |
download | qemu-460a09c1fbf59754904a086977f5cc70f278f498.zip qemu-460a09c1fbf59754904a086977f5cc70f278f498.tar.gz qemu-460a09c1fbf59754904a086977f5cc70f278f498.tar.bz2 |
Fix incorrect argument types.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4291 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm')
-rw-r--r-- | target-arm/helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c index 5d70ef1..8e85435 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -1985,7 +1985,7 @@ static inline uint8_t sub8_sat(uint8_t a, uint8_t b) #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 @@ static inline uint16_t add16_usat(uint16_t a, uint8_t b) 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; |