From d213bd8ef04dd947ff5c53a8efeb6cba11621396 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 23 May 2016 11:30:47 +0200 Subject: Revert part of "fix compiler warnings in hurd/exec" This reverts part of commit 05c3ffac543052c8d0b171a5f77bb977d5316a61. These type casts are no longer needed after the commit e914bfc3d6e5ddf6f8c5e93a4334873a48a24ddf changes. * exec/elfcore.c: Revert type casts added in commit 05c3ffac543052c8d0b171a5f77bb977d5316a61. --- exec/elfcore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'exec') diff --git a/exec/elfcore.c b/exec/elfcore.c index 48402171..3e4551e5 100644 --- a/exec/elfcore.c +++ b/exec/elfcore.c @@ -408,8 +408,8 @@ dump_core (task_t task, file_t file, off_t corelimit, if (err == 0) { err = proc_get_arg_locations (proc, - (vm_address_t *) &psinfo.data.pr_argv, - (vm_address_t *) &psinfo.data.pr_envp); + &psinfo.data.pr_argv, + &psinfo.data.pr_envp); mach_port_deallocate (mach_task_self (), proc); } { -- cgit v1.2.3