target/i386/hvf: Variable type fixup in decoder
authorPhil Dennis-Jordan <phil@philjordan.eu>
Mon, 9 Dec 2024 20:36:26 +0000 (21:36 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 6 Mar 2025 14:46:18 +0000 (15:46 +0100)
commit40b839cb840ce032c8f048325b486d3284f1b68f
tree2baedc25e4ddc31003221c081347544605f78521
parent415aae543edad19eda8f66955dde386c7fd7c680
target/i386/hvf: Variable type fixup in decoder

decode_bytes reads 1, 2, 4, or 8 bytes at a time. The destination
variable should therefore be a uint64_t, not a target_ulong.

Signed-off-by: Phil Dennis-Jordan <phil@philjordan.eu>
Fixes: ff2de1668c9 ("i386: hvf: remove addr_t")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20241209203629.74436-9-phil@philjordan.eu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
target/i386/hvf/x86_decode.c