qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [Qemu-devel] [PATCH] hw/pc.c: add ULL suffix in iopor


From: Blue Swirl
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH] hw/pc.c: add ULL suffix in ioport80_read and ioportF0_read return value
Date: Sat, 12 Jan 2013 16:11:18 +0000

Thanks, applied.

On Fri, Jan 11, 2013 at 4:41 PM, Julien Grall <address@hidden> wrote:
> The commit c02e1eac887b1b0aee7361b1fcf889e7d47fed9d broke the compilation
> for i386. ULL need to be specify for uint64_t value.
>
> Signed-off-by: Julien Grall <address@hidden>
> ---
>  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
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]