mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
libxl: migration: Use 'unsigned int' for flags
Fix the type for few internal functions. Externally the APIs were already limiting 'flags' to 'unsigned int'. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
2f8968ff76
commit
b4f8313787
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user