Fix the type for few internal functions. Externally the APIs were already limiting 'flags' to 'unsigned int'. Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> --- 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) { -- 2.37.3