From b4f8313787d1684e4b5c59b46f1403d5a8aa52ae Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Tue, 22 Nov 2022 13:03:39 +0100 Subject: [PATCH] libxl: migration: Use 'unsigned int' for flags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix the type for few internal functions. Externally the APIs were already limiting 'flags' to 'unsigned int'. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- src/libxl/libxl_migration.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libxl/libxl_migration.c b/src/libxl/libxl_migration.c index 6048540334..0867194d9e 100644 --- a/src/libxl/libxl_migration.c +++ b/src/libxl/libxl_migration.c @@ -329,7 +329,7 @@ libxlMigrateDstReceive(virNetSocket *sock, static int libxlDoMigrateSrcSend(libxlDriverPrivate *driver, virDomainObj *vm, - unsigned long flags, + unsigned int flags, int sockfd) { libxlDriverConfig *cfg = libxlDriverConfigGet(driver); @@ -877,7 +877,7 @@ struct libxlTunnelControl { static int libxlMigrationSrcStartTunnel(libxlDriverPrivate *driver, virDomainObj *vm, - unsigned long flags, + unsigned int flags, virStreamPtr st, struct libxlTunnelControl **tnl) {