diff options
author | Julien Grall <julien.grall@citrix.com> | 2013-01-11 16:41:43 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2013-01-12 12:46:36 +0000 |
commit | a6fc23e5dc76660792c8363d058adf22caa82945 (patch) | |
tree | 73642c927a650d379bea1f116f957a156ac2d97d /hw/pc.c | |
parent | 163fa4b09db3e36c612e178fd11b3af4247cbd56 (diff) |
hw/pc.c: add ULL suffix in ioport80_read and ioportF0_read return value
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>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pc.c')
-rw-r--r-- | hw/pc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |