summary refs log tree commit diff stats
path: root/dump/win_dump.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2022-12-16 08:28:32 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-02-27 22:29:02 +0100
commitbb509d944129e9987d10d97a1dd4a3e099cd505d (patch)
tree75fa7fc906bed5b7ed7837d036ec0d2e63163796 /dump/win_dump.c
parent7ae8e6c9a21bff7db376a8b1b135dffa0bb920d6 (diff)
downloadfocaccia-qemu-bb509d944129e9987d10d97a1dd4a3e099cd505d.tar.gz
focaccia-qemu-bb509d944129e9987d10d97a1dd4a3e099cd505d.zip
dump: Replace tswapN() -> cpu_to_dumpN()
All uses of tswap in that file are wrong, and should be using
cpu_to_dumpN, which correctly tests the endianness of the output.

Reported-by: Richard Henderson <richard.henderson@linaro.org>
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230225094903.53167-2-philmd@linaro.org>
Diffstat (limited to 'dump/win_dump.c')
0 files changed, 0 insertions, 0 deletions