hw/yagl_log.c: fix printf specifier for target_ulong type
authorIgor Mitsyanko <i.mitsyanko@samsung.com>
Tue, 6 Nov 2012 15:28:02 +0000 (19:28 +0400)
committerEvgeny Voevodin <e.voevodin@samsung.com>
Mon, 26 Nov 2012 09:25:32 +0000 (13:25 +0400)
commit9bbc2033b1788d3bcb10db732af743e45f480186
tree77b26787e404589cfe70150771984a06d51a1f0d
parent37e1e2b95793a8efbbc50fea4d1c1115a607c845
hw/yagl_log.c: fix printf specifier for target_ulong type

On 64-bit hosts %lX specifies 64-bit long variable, therefore when its used with 32-bit
target_ulong, it prints bogus 64 bit long value.

Note that PRIX64 macro could be broken on mingw32, maybe we should manually check
host word size in the future.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
hw/yagl_log.c