aboutsummaryrefslogtreecommitdiff
path: root/procps/pidof.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/pidof.c')
-rw-r--r--procps/pidof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/pidof.c b/procps/pidof.c
index 46e646d6e..8ed5a2155 100644
--- a/procps/pidof.c
+++ b/procps/pidof.c
@@ -59,7 +59,7 @@ int pidof_main(int argc ATTRIBUTE_UNUSED, char **argv)
59 if (opt & OPT_OMIT) { 59 if (opt & OPT_OMIT) {
60 llist_t *omits_p = omits; 60 llist_t *omits_p = omits;
61 while (omits_p) { 61 while (omits_p) {
62 if (xatoul(omits_p->data) == *pl) { 62 if (xatoul(omits_p->data) == (unsigned long)(*pl)) {
63 goto omitting; 63 goto omitting;
64 } 64 }
65 omits_p = omits_p->link; 65 omits_p = omits_p->link;