Merge branch 'utoddl/procps-master'

References:
 procps-ng/procps!78
This commit is contained in:
Craig Small 2020-04-24 17:29:08 +10:00
commit 6442a631ac

View File

@ -280,7 +280,7 @@ static int conv_uid (const char *restrict name, struct el *restrict e)
xwarnx(_("invalid user name: %s"), name); xwarnx(_("invalid user name: %s"), name);
return 0; return 0;
} }
e->num = pwd->pw_uid; e->num = (int) pwd->pw_uid;
return 1; return 1;
} }
@ -297,7 +297,7 @@ static int conv_gid (const char *restrict name, struct el *restrict e)
xwarnx(_("invalid group name: %s"), name); xwarnx(_("invalid group name: %s"), name);
return 0; return 0;
} }
e->num = grp->gr_gid; e->num = (int) grp->gr_gid;
return 1; return 1;
} }