[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] libvixl: Fix wrong format strings
From: |
Stefan Weil |
Subject: |
Re: [Qemu-devel] [PATCH] libvixl: Fix wrong format strings |
Date: |
Tue, 24 Jun 2014 19:47:44 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
Am 18.06.2014 19:49, schrieb Stefan Weil:
> When the compiler is told to check the arguments of AppendToOutput,
> it reports several errors of this kind:
>
> error: format ‘%d’ expects argument of type ‘int’,
> but argument 3 has type ‘int64_t {aka long int}’ [-Werror=format]
>
> Fix those bugs by using the correct format strings with PRId64, PRIx64.
>
> Signed-off-by: Stefan Weil <address@hidden>
> ---
>
> Hello Peter,
>
> if you want to fix the format strings before upstream updates the code,
> you can use this patch.
>
> It fails with checkpatch.pl, but that's normal in this case.
>
> Regards
> Stefan
>
Ping?
Peter, I suggest that you apply this patch directly as it is a bug fix,
and I don't expect that anybody will send a pull request.
Stefan