cvtnum returns an int64_t, not an int, so correct the lvalue types wherever it is used. While we're at it, make the error messages more meaningful and hopefully less confusing.
________________________________________________________________________________ For convenience, this branch is available at: https://github.com/jnsnow/qemu.git branch qemu-io-tidy https://github.com/jnsnow/qemu/tree/qemu-io-tidy This version is tagged qemu-io-tidy-v1: https://github.com/jnsnow/qemu/releases/tag/qemu-io-tidy-v1 John Snow (3): qemu-io: fix cvtnum lval types qemu-io: Check for trailing chars qemu-io: Correct error messages qemu-io-cmds.c | 93 +++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 59 insertions(+), 34 deletions(-) -- 2.4.3