diff options
author | Laurent Vivier <lvivier@redhat.com> | 2016-06-15 18:14:34 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2016-09-15 15:32:22 +0300 |
commit | 416296a9d1167333f28f9a3fdad7a648e648f53f (patch) | |
tree | 434ff8090dbb2538088d03643de1cfefa30b64ca /hw/tricore | |
parent | 57ddd73e611bf547c4a28356df7b3c6ff43afb0c (diff) | |
download | qemu-416296a9d1167333f28f9a3fdad7a648e648f53f.zip qemu-416296a9d1167333f28f9a3fdad7a648e648f53f.tar.gz qemu-416296a9d1167333f28f9a3fdad7a648e648f53f.tar.bz2 |
tricore: remove useless cast
This patch is the result of coccinelle script
scripts/coccinelle/typecast.cocci
CC: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/tricore')
-rw-r--r-- | hw/tricore/tricore_testboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tricore/tricore_testboard.c b/hw/tricore/tricore_testboard.c index 8d3520f..19dd587 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) { |