From: Julien Grall <julien.grall@citrix.com>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, Julien Grall <julien.grall@citrix.com>,
aliguori@us.ibm.com
Subject: [Qemu-devel] [PATCH] hw/pc.c: add ULL suffix in ioport80_read and ioportF0_read return value
Date: Fri, 11 Jan 2013 16:41:43 +0000 [thread overview]
Message-ID: <1357922503-20202-1-git-send-email-julien.grall@citrix.com> (raw)
The commit c02e1eac887b1b0aee7361b1fcf889e7d47fed9d broke the compilation
for i386. ULL need to be specify for uint64_t value.
Signed-off-by: Julien Grall <julien.grall@citrix.com>
---
hw/pc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index dfa3144..ba1f19d 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -105,7 +105,7 @@ static void ioport80_write(void *opaque, hwaddr addr, uint64_t data,
static uint64_t ioport80_read(void *opaque, hwaddr addr, unsigned size)
{
- return 0xffffffffffffffff;
+ return 0xffffffffffffffffULL;
}
/* MSDOS compatibility mode FPU exception support */
@@ -130,7 +130,7 @@ static void ioportF0_write(void *opaque, hwaddr addr, uint64_t data,
static uint64_t ioportF0_read(void *opaque, hwaddr addr, unsigned size)
{
- return 0xffffffffffffffff;
+ return 0xffffffffffffffffULL;
}
/* TSC handling */
--
Julien Grall
next reply other threads:[~2013-01-11 23:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-11 16:41 Julien Grall [this message]
2013-01-12 6:37 ` [Qemu-devel] [PATCH] hw/pc.c: add ULL suffix in ioport80_read and ioportF0_read return value Stefan Weil
2013-01-12 16:11 ` Blue Swirl
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=1357922503-20202-1-git-send-email-julien.grall@citrix.com \
--to=julien.grall@citrix.com \
--cc=aliguori@us.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@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).