diff options
| author | Yury Kotov | 2019-05-23 11:44:33 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2019-06-17 20:36:56 +0200 |
| commit | 854f63d44065567c2991b5050f7d4011ca985c4e (patch) | |
| tree | 2d98fc1c268d82e4e9fbf2882cec3ee589aa8fdd /include/exec/user | |
| parent | Merge remote-tracking branch 'remotes/pmaydell/tags/pull-docs-20190617' into ... (diff) | |
| download | qemu-854f63d44065567c2991b5050f7d4011ca985c4e.tar.gz qemu-854f63d44065567c2991b5050f7d4011ca985c4e.tar.xz qemu-854f63d44065567c2991b5050f7d4011ca985c4e.zip | |
monitor: Fix return type of monitor_fdset_dup_fd_find
monitor_fdset_dup_fd_find_remove() and monitor_fdset_dup_fd_find()
return mon_fdset->id which is int64_t. Downcasting from int64_t to int
leads to a bug with removing fd from fdset with id >= 2^32.
So, fix return types for these function.
Signed-off-by: Yury Kotov <yury-kotov@yandex-team.ru>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190523094433.30297-1-yury-kotov@yandex-team.ru>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
