|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH] cpuid: use unsigned for max cpuid |
Date: | Tue, 25 Jan 2022 21:33:17 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
On 25/1/22 20:24, Michael S. Tsirkin wrote:
__get_cpuid_max returns an unsigned value. For consistency, store the result in an unsigned variable. Found by running ./configure --extra-cflags=-Wconversion Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Richard Henderson <rth@twiddle.net> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> --- Richard, if appropriate pls queue this. Thanks! configure | 2 +- util/bufferiszero.c | 2 +- tcg/i386/tcg-target.c.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[Prev in Thread] | Current Thread | [Next in Thread] |