]> git.ipfire.org Git - thirdparty/qemu.git/commit
migration: Use unsigned instead of int for bit set of MigMode
authorMarkus Armbruster <armbru@redhat.com>
Mon, 27 Oct 2025 06:45:01 +0000 (07:45 +0100)
committerPeter Xu <peterx@redhat.com>
Mon, 3 Nov 2025 21:04:10 +0000 (16:04 -0500)
commit75a9f080c2195054cd6f37c75615fc4908283051
tree004ee2eb1610ff3c923701cf0b3a74ca7b495497
parent74343a438c796cd1e679db94294c666469a8c4a8
migration: Use unsigned instead of int for bit set of MigMode

Signed operands in bitwise operations are unwise.  I believe they're
safe here, but avoiding them is easy, so let's do that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20251027064503.1074255-2-armbru@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
migration/migration.c