]> Git Repo - qemu.git/commit
json: fix PRId64 on Win32
authorRoy Tam <[email protected]>
Thu, 4 Feb 2010 02:30:30 +0000 (10:30 +0800)
committerAnthony Liguori <[email protected]>
Wed, 10 Feb 2010 18:47:58 +0000 (12:47 -0600)
commit2c0d4b36e7fe28c569c5436f7724735e35d3c493
tree597ed7dadc4c0789c34ceecc1020d6dd567242c5
parent2198a62eb2518b61c3fc7db26515f106e7498932
json: fix PRId64 on Win32

OK we are fooled by the json lexer and parser. As we use %I64d to
print 'long long' variables in Win32, but lexer and parser only deal
with %lld but not %I64d, this patch add support for %I64d and solve
'info pci', 'powser_reset' and 'power_powerdown' assert failure in
Win32.

Signed-off-by: Anthony Liguori <[email protected]>
json-lexer.c
json-parser.c
This page took 0.025957 seconds and 4 git commands to generate.