diff -up ./pgrep.c.ori ./pgrep.c
--- ./pgrep.c.ori 2014-09-23 13:40:36.000000000 +0200
+++ ./pgrep.c 2020-04-24 14:51:43.106245282 +0200
@@ -274,7 +274,7 @@ static int conv_uid (const char *restric
xwarnx(_("invalid user name: %s"), name);
return 0;
}
- e->num = pwd->pw_uid;
+ e->num = (int) pwd->pw_uid;
return 1;
}
@@ -291,7 +291,7 @@ static int conv_gid (const char *restric
xwarnx(_("invalid group name: %s"), name);
return 0;
}
- e->num = grp->gr_gid;
+ e->num = (int) grp->gr_gid;
return 1;
}