mirror of
https://github.com/qemu/qemu.git
synced 2026-07-09 01:56:21 +00:00
target/tricore: Remove unnecessary cast to target_ulong
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20251010052141.42460-6-philmd@linaro.org>
This commit is contained in:
@@ -37,7 +37,7 @@ static const gchar *tricore_gdb_arch_name(CPUState *cs)
|
||||
|
||||
static void tricore_cpu_set_pc(CPUState *cs, vaddr value)
|
||||
{
|
||||
cpu_env(cs)->PC = value & ~(target_ulong)1;
|
||||
cpu_env(cs)->PC = value & ~1;
|
||||
}
|
||||
|
||||
static vaddr tricore_cpu_get_pc(CPUState *cs)
|
||||
|
||||
Reference in New Issue
Block a user