The following commit has been merged in the master branch:
commit 9805ef20ebf7141c419376af68e7476b5c0dd5c0
Author: Guillem Jover <[email protected]>
Date:   Wed Sep 14 23:32:43 2011 +0200

    s-s-d: Cast proc_stat_owner_uid() to uid_t to fix a warning

diff --git a/utils/start-stop-daemon.c b/utils/start-stop-daemon.c
index 6503ce5..429358f 100644
--- a/utils/start-stop-daemon.c
+++ b/utils/start-stop-daemon.c
@@ -1058,7 +1058,7 @@ pid_is_user(pid_t pid, uid_t uid)
        struct proc_stat *ps;
 
        ps = get_proc_stat(pid, PSTAT_OWNER_UID);
-       return ps && proc_stat_owner_uid(ps) == uid;
+       return ps && (uid_t)proc_stat_owner_uid(ps) == uid;
 }
 #elif defined(OShpux)
 static bool

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to