qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [4291] Fix incorrect argument types.


From: Paul Brook
Subject: [Qemu-devel] [4291] Fix incorrect argument types.
Date: Thu, 01 May 2008 12:04:35 +0000

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;






reply via email to

[Prev in Thread] Current Thread [Next in Thread]