Revision 1c39e2a2

b/migration-exec.c
141 141
    }
142 142

  
143 143
    qemu_set_fd_handler2(qemu_stdio_fd(f), NULL,
144
			 exec_accept_incoming_migration, NULL,
145
			 (void *)(unsigned long)f);
144
			 exec_accept_incoming_migration, NULL, f);
146 145

  
147 146
    return 0;
148 147
}
b/migration-fd.c
136 136
        return -errno;
137 137
    }
138 138

  
139
    qemu_set_fd_handler2(fd, NULL, fd_accept_incoming_migration, NULL,
140
			 (void *)(unsigned long)f);
139
    qemu_set_fd_handler2(fd, NULL, fd_accept_incoming_migration, NULL, f);
141 140

  
142 141
    return 0;
143 142
}

Also available in: Unified diff