From 1c39e2a2e4f9a55065a58a28aa2457f80fc3073e Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Thu, 11 Mar 2010 17:55:38 +0100 Subject: remove useless cast values are already pointers, no need to cast them to void * Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- migration-fd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'migration-fd.c') diff --git a/migration-fd.c b/migration-fd.c index 9cf52ce..0abd372 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; } -- cgit v1.1