qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paul Brook <paul@nowt.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [4291] Fix incorrect argument types.
Date: Thu, 01 May 2008 12:04:35 +0000	[thread overview]
Message-ID: <E1JrXWd-0001Cy-Of@cvs.savannah.gnu.org> (raw)

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	other threads:[~2008-05-01 12:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1JrXWd-0001Cy-Of@cvs.savannah.gnu.org \
    --to=paul@nowt.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).