aboutsummaryrefslogtreecommitdiff
path: root/migration-fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'migration-fd.c')
-rw-r--r--migration-fd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/migration-fd.c b/migration-fd.c
index 9cf52ce90b..0abd372af5 100644
--- a/migration-fd.c
+++ b/migration-fd.c
@@ -136,8 +136,7 @@ int fd_start_incoming_migration(const char *infd)
return -errno;
}
- qemu_set_fd_handler2(fd, NULL, fd_accept_incoming_migration, NULL,
- (void *)(unsigned long)f);
+ qemu_set_fd_handler2(fd, NULL, fd_accept_incoming_migration, NULL, f);
return 0;
}