sim: ppc: clean up printf format handling
authorMike Frysinger <vapier@gentoo.org>
Mon, 1 Nov 2021 03:32:26 +0000 (23:32 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 1 Nov 2021 03:49:13 +0000 (23:49 -0400)
commitfad7f13ae13b03edfd8f0f2833af09d3a65a6bc7
tree52e8ac1196a7dc98dbdcff164bd20c33d16a75f5
parent7b83db6a74c6cb68b3804890ab9037460e21fedf
sim: ppc: clean up printf format handling

Don't blindly cast every possible type to (long).  Change to the right
printf format specifier whether it be a 64-bit type or a pointer.
sim/ppc/device.c
sim/ppc/emul_chirp.c
sim/ppc/events.c
sim/ppc/gdb-sim.c
sim/ppc/hw_init.c
sim/ppc/psim.c
sim/ppc/sim_calls.c
sim/ppc/tree.c
sim/ppc/vm.c