commit | 2c0d4b36e7fe28c569c5436f7724735e35d3c493 | [log] [tgz] |
---|---|---|
author | Roy Tam <roytam@gmail.com> | Thu Feb 04 10:30:30 2010 +0800 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Wed Feb 10 12:47:58 2010 -0600 |
tree | 597ed7dadc4c0789c34ceecc1020d6dd567242c5 | |
parent | 2198a62eb2518b61c3fc7db26515f106e7498932 [diff] |
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 <aliguori@us.ibm.com>