Message ID | 20220509205728.51912-2-philippe.mathieu.daude@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | linux-user: Use CPUArchState* instead of void* when possible | expand |
On 5/9/22 15:57, Philippe Mathieu-Daudé wrote: > From: Philippe Mathieu-Daudé<f4bug@amsat.org> > > fill_thread_info() takes a pointer to const. > > Signed-off-by: Philippe Mathieu-Daudé<f4bug@amsat.org> > --- > linux-user/elfload.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 61063fd974..ada3b587c0 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -3971,7 +3971,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();