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

Re: [Xen-devel] [PATCH] tools/xen-cpuid: Fix 32bit build



On Wed, Nov 07, 2018 at 12:53:24PM +0000, Andrew Cooper wrote:
> Clang reports:
> 
>   xen-cpuid.c:307:29: error: format specifies type 'unsigned long' but the
>   argument has type 'uint64_t' (aka 'unsigned long long') [-Werror,-Wformat]
> 
>                  msrs[l].idx, msrs[l].val);
>                               ^~~~~~~~~~~
> 
> Use PRIx64 instead.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.