diff options
author | Juan Quintela <quintela@redhat.com> | 2010-03-11 17:55:38 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-03-19 15:27:27 -0500 |
commit | faf7bc6e8c8814f6423dd5f2807ea7e05d22006e (patch) | |
tree | 9d69209c7d670a67e7c6a9bfd2e44a9fd6706fcb /migration-exec.c | |
parent | 7153ab59198d070fe1c0b95f1d651e044171b68c (diff) | |
download | qemu-faf7bc6e8c8814f6423dd5f2807ea7e05d22006e.tar.gz qemu-faf7bc6e8c8814f6423dd5f2807ea7e05d22006e.tar.bz2 qemu-faf7bc6e8c8814f6423dd5f2807ea7e05d22006e.zip |
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>
Diffstat (limited to 'migration-exec.c')
-rw-r--r-- | migration-exec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/migration-exec.c b/migration-exec.c index 6ff844927c..54358271c5 100644 --- a/migration-exec.c +++ b/migration-exec.c @@ -141,8 +141,7 @@ int exec_start_incoming_migration(const char *command) } 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; } |