Re: [PATCH 05/27] qemuMonitorRemoveFdset: Convert @fdset to unsigned int to avoid error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On a Wednesday in 2022, Peter Krempa wrote:
'qemuMonitorRemoveFdset' validatest that the 'fdset' argument isn't less

validates

than 0. We can turn it to unsigned and thus avoid the error message
completely.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
src/qemu/qemu_monitor.c      | 14 ++++----------
src/qemu/qemu_monitor.h      |  2 +-
src/qemu/qemu_monitor_json.c |  4 ++--
src/qemu/qemu_monitor_json.h |  2 +-
4 files changed, 8 insertions(+), 14 deletions(-)


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux