diff options
author | Stefan Weil <weil@mail.berlios.de> | 2009-06-21 18:35:03 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-24 09:09:15 -0500 |
commit | 3abcdf4904d695a9501d7886aa0d243cf086c087 (patch) | |
tree | e28b4576833d8658b6ead691f143aa6a6835f735 /def-helper.h | |
parent | ffe6370c9f2a596814bf14e472910fe6ef7e001d (diff) |
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 'def-helper.h')
0 files changed, 0 insertions, 0 deletions