target-ppc: Cast ssize_t to size_t before printing with %zx
commit2f285bdd54bb2ff25a213b3b77e9bf46f4306320
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 23 Dec 2014 22:22:16 +0000 (23 22:22 +0000)
committerAlexander Graf <agraf@suse.de>
Wed, 7 Jan 2015 15:16:28 +0000 (7 16:16 +0100)
tree79c18d02e34baf0ed8c5c773fae82f656f80a0b4
parent466976d9eed8d618aed93cb1fac04845e86253cf
target-ppc: Cast ssize_t to size_t before printing with %zx

The mingw32 compiler complains about trying to print variables of type
ssize_t with the %z format string specifier. Since we're printing it
as unsigned hex anyway, cast to size_t to silence the warning.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr.c