diff options
author | Philippe Mathieu-Daudé | 2022-05-09 22:57:26 +0200 |
---|---|---|
committer | Laurent Vivier | 2022-05-23 22:47:19 +0200 |
commit | 2f6f4290e0f0f3a8ea49a81afebd2d41c327477f (patch) | |
tree | 1af89d1ea8757ddfab25f43a90c088d6dce82dfc | |
parent | linux-user/syscall.c: fix build without RLIMIT_RTTIME (diff) | |
download | qemu-2f6f4290e0f0f3a8ea49a81afebd2d41c327477f.tar.gz qemu-2f6f4290e0f0f3a8ea49a81afebd2d41c327477f.tar.xz qemu-2f6f4290e0f0f3a8ea49a81afebd2d41c327477f.zip |
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>
-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 8c0765dd4b..acc21748f9 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(); |