qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] target-sparc: Fix compiler errors (format strin


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH] target-sparc: Fix compiler errors (format strings)
Date: Fri, 22 Jul 2011 18:37:33 +0300

Thanks, applied.

I also didn't notice the build breakage but it looks like I also ran
my tests with some old version, sorry.

On Fri, Jul 22, 2011 at 8:44 AM, Stefan Weil <address@hidden> wrote:
> This change is needed because commit 06e12b65
> now uses an unsigned long long value
> (uint64_t && unsigned long long => unsigned long long).
>
> Cc: Tsuneo Saito <address@hidden>
> Cc: Blue Swirl <address@hidden>
> Signed-off-by: Stefan Weil <address@hidden>
> ---
>  target-sparc/helper.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/target-sparc/helper.c b/target-sparc/helper.c
> index acc07f5..efab885 100644
> --- a/target-sparc/helper.c
> +++ b/target-sparc/helper.c
> @@ -700,7 +700,7 @@ void dump_mmu(FILE *f, fprintf_function cpu_fprintf, 
> CPUState *env)
>                 break;
>             }
>             if (TTE_IS_VALID(env->dtlb[i].tte)) {
> -                (*cpu_fprintf)(f, "[%02u] VA: %" PRIx64 ", PA: %" PRIx64
> +                (*cpu_fprintf)(f, "[%02u] VA: %" PRIx64 ", PA: %llx"
>                                ", %s, %s, %s, %s, ctx %" PRId64 " %s\n",
>                                i,
>                                env->dtlb[i].tag & (uint64_t)~0x1fffULL,
> @@ -737,7 +737,7 @@ void dump_mmu(FILE *f, fprintf_function cpu_fprintf, 
> CPUState *env)
>                 break;
>             }
>             if (TTE_IS_VALID(env->itlb[i].tte)) {
> -                (*cpu_fprintf)(f, "[%02u] VA: %" PRIx64 ", PA: %" PRIx64
> +                (*cpu_fprintf)(f, "[%02u] VA: %" PRIx64 ", PA: %llx"
>                                ", %s, %s, %s, ctx %" PRId64 " %s\n",
>                                i,
>                                env->itlb[i].tag & (uint64_t)~0x1fffULL,
> --
> 1.7.2.5
>
>



reply via email to

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