Re: [Xen-devel] [PATCH] tools/xen-cpuid: Fix 32bit build
On Wed, Nov 07, 2018 at 12:53:24PM +, 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); >
[Xen-devel] [PATCH] tools/xen-cpuid: Fix 32bit build
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