hw/pc.c: add ULL suffix in ioport80_read and ioportF0_read return value

The commit c02e1eac88 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>
This commit is contained in:
Julien Grall 2013-01-11 16:41:43 +00:00 committed by Blue Swirl
parent 163fa4b09d
commit a6fc23e5dc
1 changed files with 2 additions and 2 deletions

View File

@ -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 */