commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 04/19: Revert part of "fix compiler warnings in hurd/exec"


From: Samuel Thibault
Subject: [hurd] 04/19: Revert part of "fix compiler warnings in hurd/exec"
Date: Wed, 10 Aug 2016 00:05:49 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit d213bd8ef04dd947ff5c53a8efeb6cba11621396
Author: Thomas Schwinge <address@hidden>
Date:   Mon May 23 11:30:47 2016 +0200

    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(-)

diff --git a/exec/elfcore.c b/exec/elfcore.c
index 4840217..3e4551e 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);
          }
        {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]