diff options
Diffstat (limited to 'procps/pidof.c')
-rw-r--r-- | procps/pidof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/pidof.c b/procps/pidof.c index 46e646d..8ed5a21 100644 --- a/procps/pidof.c +++ b/procps/pidof.c @@ -59,7 +59,7 @@ int pidof_main(int argc ATTRIBUTE_UNUSED, char **argv) if (opt & OPT_OMIT) { llist_t *omits_p = omits; while (omits_p) { - if (xatoul(omits_p->data) == *pl) { + if (xatoul(omits_p->data) == (unsigned long)(*pl)) { goto omitting; } omits_p = omits_p->link; |