sim: igen: cleanup archaic pointer-to-long printf casts
authorMike Frysinger <vapier@gentoo.org>
Fri, 11 Nov 2022 15:02:39 +0000 (22:02 +0700)
committerMike Frysinger <vapier@gentoo.org>
Fri, 11 Nov 2022 15:08:14 +0000 (22:08 +0700)
commit36895e5335bcfaab939c7e8d2f271face79bc45c
treefe1bfca1202e19335f81ec241c7097d181ac1d4d
parentac42aa228f3f1ebda16ddb53b993d6341dbbf100
sim: igen: cleanup archaic pointer-to-long printf casts

Use proper %p to printf a pointer instead of casting it to long and
using 0x%lx.  It's cleaner, more correct, and doesn't break on LLP64.
sim/igen/gen.c
sim/igen/ld-decode.c
sim/igen/ld-insn.c
sim/igen/table.c