about summary refs log tree commit diff
path: root/hurd/hurdprio.c
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/hurdprio.c')
-rw-r--r--hurd/hurdprio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurdprio.c b/hurd/hurdprio.c
index d7beb3c97a..8bad2563fb 100644
--- a/hurd/hurdprio.c
+++ b/hurd/hurdprio.c
@@ -67,7 +67,7 @@ _hurd_priority_which_map (enum __priority_which which, int who,
 			     (vm_address_t) oldpi, oldpisize * sizeof pi[0]);
 
 	  pip = (struct procinfo *) pi;
-	  if (pip->owner != who)
+	  if (pip->owner != (uid_t) who)
 	    continue;
 	}
       else