summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2016-05-23 11:30:47 +0200
committerThomas Schwinge <thomas@codesourcery.com>2016-05-23 11:31:50 +0200
commitd213bd8ef04dd947ff5c53a8efeb6cba11621396 (patch)
treeff5c832a32bc62b6f0e789b866b53c8ab24836c4
parent305e83c42624c8cf84452d5d0fa7669e2af6f997 (diff)
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.
-rw-r--r--exec/elfcore.c4
1 files changed, 2 insertions, 2 deletions
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);
}
{