From: Laurent Vivier Date: Wed, 15 Jun 2016 16:14:34 +0000 (+0200) Subject: tricore: remove useless cast X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=416296a9d1167333f28f9a3fdad7a648e648f53f;p=qemu.git tricore: remove useless cast This patch is the result of coccinelle script scripts/coccinelle/typecast.cocci CC: Bastian Koppelmann Signed-off-by: Laurent Vivier Reviewed-by: Bastian Koppelmann Signed-off-by: Michael Tokarev --- diff --git a/hw/tricore/tricore_testboard.c b/hw/tricore/tricore_testboard.c index 8d3520f5be..19dd587207 100644 --- a/hw/tricore/tricore_testboard.c +++ b/hw/tricore/tricore_testboard.c @@ -46,7 +46,7 @@ static void tricore_load_kernel(CPUTriCoreState *env) long kernel_size; kernel_size = load_elf(tricoretb_binfo.kernel_filename, NULL, - NULL, (uint64_t *)&entry, NULL, + NULL, &entry, NULL, NULL, 0, EM_TRICORE, 1, 0); if (kernel_size <= 0) {