提交 a6fc23e5 编写于 作者: J Julien Grall 提交者: Blue Swirl

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

The commit c02e1eac broke the compilation
for i386. ULL need to be specify for uint64_t value.
Signed-off-by: NJulien Grall <julien.grall@citrix.com>
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 163fa4b0
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册