[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] gt64xxx.c: fix length modifier in DPRINTF f
From: |
Antony Pavlov |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] gt64xxx.c: fix length modifier in DPRINTF format string |
Date: |
Mon, 26 Sep 2011 00:02:05 +0400 |
On 25 September 2011 23:22, Peter Maydell <address@hidden> wrote:
> On 25 September 2011 19:14, Antony Pavlov <address@hidden> wrote:
>> The commit fc2bf44972349b078d8310466c3866615500e67f
>> changed the type of val argument of the function gt64120_writel()
>> from uint32_t to uint64_t, so we need to change the corresponding
>> length modifier from '%x' to '%llx'.
>
> For a uint64_t you need to use PRIx64 -- '%llx' won't work on
> systems where uint64_t isn't typedefed as 'long long'.
Thanks! I will resend patches in a few seconds.
--
Best regards,
Antony Pavlov