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

Ján Tomko jtomko at redhat.com
Thu Feb 10 16:16:28 UTC 2022


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 at redhat.com>
>---
> 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 at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220210/b35f6f40/attachment-0001.sig>


More information about the libvir-list mailing list