From: Philippe Mathieu-Daudé Date: Fri, 10 Oct 2025 03:48:50 +0000 (+0200) Subject: target/tricore: Remove unnecessary cast to target_ulong X-Git-Tag: v10.2.0-rc1~61^2~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=30257dcd2b0b8aeefc0c4b8ee10524037111a0f4;p=thirdparty%2Fqemu.git target/tricore: Remove unnecessary cast to target_ulong Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20251010052141.42460-6-philmd@linaro.org> --- diff --git a/target/tricore/cpu.c b/target/tricore/cpu.c index 4f035b6f76..04319e107b 100644 --- a/target/tricore/cpu.c +++ b/target/tricore/cpu.c @@ -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)