diff options
author | John Snow <jsnow@redhat.com> | 2015-11-05 18:53:02 -0500 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-11-11 16:39:59 +0100 |
commit | 9b0beaf3de1396a23d5c287283e6f36c4b5d4385 (patch) | |
tree | 98c128d9e6d824c3bb84b74fc8ca010af545e5fa /tests/qemu-iotests/058 | |
parent | 3fa123d05964b07f9d4d972f131cce847091926d (diff) | |
download | hqemu-9b0beaf3de1396a23d5c287283e6f36c4b5d4385.zip hqemu-9b0beaf3de1396a23d5c287283e6f36c4b5d4385.tar.gz |
qemu-io: fix cvtnum lval types
cvtnum() returns int64_t: we should not be storing this
result inside of an int.
In a few cases, we need an extra sprinkling of error handling
where we expect to pass this number on towards a function that
expects something smaller than int64_t.
Reported-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/058')
0 files changed, 0 insertions, 0 deletions