cpuid: use unsigned for max cpuid
commit2a728de1fff4b9ceede039d078e5e33ff71908f1
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 25 Jan 2022 19:17:33 +0000 (25 14:17 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 4 Feb 2022 14:07:43 +0000 (4 09:07 -0500)
treef84b48e332a784d3f182912e9717695af6dc7d52
parent8f3e5ce773c62bb5c4a847f3a9a5c98bbb3b359f
cpuid: use unsigned for max cpuid

__get_cpuid_max returns an unsigned value.
For consistency, store the result in an unsigned variable.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
configure
tcg/i386/tcg-target.c.inc
util/bufferiszero.c