WHPX: fix some compiler warnings
commitc3942bf2bdcc80fcf38379cf26db5d02b07f41cf
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Tue, 15 May 2018 17:35:22 +0000 (15 20:35 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Jun 2018 13:13:46 +0000 (1 15:13 +0200)
tree10db452c19788a5e2d06aa9e4fcfd9f9dfec1b40
parent327fccb288976f95808efa968082fc9d4a9ced84
WHPX: fix some compiler warnings

This patch fixes a few compiler warnings, especially in case of
x86 targets, where the number of registers was not properly handled
and could cause an overflow.

Signed-off-by: Alessandro Pilotti <apilotti@cloudbasesolutions.com>
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
Message-Id: <1526405722-10887-3-git-send-email-lpetrut@cloudbasesolutions.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/whpx-all.c