sim: common: fix printf formats
authorMike Frysinger <vapier@gentoo.org>
Sat, 9 Jan 2021 19:06:15 +0000 (14:06 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 11 Jan 2021 13:27:40 +0000 (08:27 -0500)
commit90e123dd600140ccc0731668e1256e1a55b04f8f
tree00e402bffbe259eb1735ddf7a075d02ddc029766
parent933306703a73585ad80c72a8a9422833074961a2
sim: common: fix printf formats

For 32-bit targets, %x happens to work for unsigned_word.  But for
64-bit targets, it's too small, and gcc throws an error.  Use the
right printf format define for them.
sim/common/ChangeLog
sim/common/sim-core.c