[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] numa: Fix format string for "Invalid node" mess
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH] numa: Fix format string for "Invalid node" message |
Date: |
Tue, 30 May 2017 14:08:26 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
On 05/30/2017 01:40 PM, Eduardo Habkost wrote:
> Some compilers complain about the PRIu16 format string with the
> MAX(src, dst) and MAX_NODES arguments. Example output from Apple LLVM
> version 7.3.0 (clang-703.0.31):
> ^~~
> MAX(src, dst) promotes the src and dst arguments to int, and MAX_NODES
> is an int. Use %d to silence those warnings.
>
> Signed-off-by: Eduardo Habkost <address@hidden>
> ---
> numa.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature