summaryrefslogtreecommitdiff
path: root/tool-osdep.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2009-06-21 18:35:03 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-24 09:09:15 -0500
commit3abcdf4904d695a9501d7886aa0d243cf086c087 (patch)
treee28b4576833d8658b6ead691f143aa6a6835f735 /tool-osdep.c
parentffe6370c9f2a596814bf14e472910fe6ef7e001d (diff)
downloadqemu-3abcdf4904d695a9501d7886aa0d243cf086c087.tar.gz
Fix dump output in qemu-io.
The dump output was not nicely formatted for bytes larger than 0x7f, because signed values expanded to sizeof(int) bytes. So for example 0xab did not print as "ab", but as "ffffffab". I also cleaned the function prototype, which avoids new type casts and allows to remove an existing type cast. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'tool-osdep.c')
0 files changed, 0 insertions, 0 deletions