commit | 9b0beaf3de1396a23d5c287283e6f36c4b5d4385 | [log] [tgz] |
---|---|---|
author | John Snow <jsnow@redhat.com> | Thu Nov 05 18:53:02 2015 -0500 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Nov 11 16:39:59 2015 +0100 |
tree | 98c128d9e6d824c3bb84b74fc8ca010af545e5fa | |
parent | 3fa123d05964b07f9d4d972f131cce847091926d [diff] |
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>