commit | 1c39e2a2e4f9a55065a58a28aa2457f80fc3073e | [log] [tgz] |
---|---|---|
author | Juan Quintela <quintela@redhat.com> | Thu Mar 11 17:55:38 2010 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Mar 19 15:27:27 2010 -0500 |
tree | 9d69209c7d670a67e7c6a9bfd2e44a9fd6706fcb | |
parent | 31d4ee6cf69b4a78a9ac1fe0c2108dd72f3374f6 [diff] [blame] |
remove useless cast values are already pointers, no need to cast them to void * Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff --git a/migration-exec.c b/migration-exec.c index 6ff8449..5435827 100644 --- a/migration-exec.c +++ b/migration-exec.c
@@ -141,8 +141,7 @@ } qemu_set_fd_handler2(qemu_stdio_fd(f), NULL, - exec_accept_incoming_migration, NULL, - (void *)(unsigned long)f); + exec_accept_incoming_migration, NULL, f); return 0; }