bug-hurd
[Top][All Lists]
Advanced

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

[PATCH 4/4] libps (proc_stat_set_flags): Fix pointer signedness warning


From: Jeremie Koenig
Subject: [PATCH 4/4] libps (proc_stat_set_flags): Fix pointer signedness warning
Date: Wed, 25 Aug 2010 14:31:58 +0200

---
 libps/procstat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libps/procstat.c b/libps/procstat.c
index 13f1829..6e920f4 100644
--- a/libps/procstat.c
+++ b/libps/procstat.c
@@ -961,7 +961,7 @@ proc_stat_set_flags (struct proc_stat *ps, ps_flags_t flags)
      when creating a file.  */
   MP_MGET (PSTAT_UMASK, PSTAT_TASK,
           ps_msg_get_init_int (ps->msgport, ps->task, INIT_UMASK,
-                               &ps->umask));
+                               (int *) &ps->umask));
 
   if (NEED (PSTAT_OWNER_UID, PSTAT_PROC_INFO))
     {
-- 
1.7.1




reply via email to

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