diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2022-05-09 22:57:26 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2022-05-23 22:47:19 +0200 |
commit | 2f6f4290e0f0f3a8ea49a81afebd2d41c327477f (patch) | |
tree | 1af89d1ea8757ddfab25f43a90c088d6dce82dfc /linux-user/elfload.c | |
parent | c3a28d71221d30b1f58bf5efc88add20635ce46d (diff) | |
download | qemu-2f6f4290e0f0f3a8ea49a81afebd2d41c327477f.zip qemu-2f6f4290e0f0f3a8ea49a81afebd2d41c327477f.tar.gz qemu-2f6f4290e0f0f3a8ea49a81afebd2d41c327477f.tar.bz2 |
linux-user/elfload: Remove pointless non-const CPUArchState cast
fill_thread_info() takes a pointer to const.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220509205728.51912-2-philippe.mathieu.daude@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/elfload.c')
-rw-r--r-- | linux-user/elfload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 8c0765d..acc2174 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -3973,7 +3973,7 @@ static int fill_note_info(struct elf_note_info *info, if (cpu == thread_cpu) { continue; } - fill_thread_info(info, (CPUArchState *)cpu->env_ptr); + fill_thread_info(info, cpu->env_ptr); } cpu_list_unlock(); |