a fix: UID and GID were sign-extended

This commit is contained in:
ceriel 1987-08-24 09:13:31 +00:00
parent 18b7250736
commit 469b3cc1e1

View file

@ -337,8 +337,8 @@ register char *argv[];
print("%s%3u/%u%7ld %s %s %s",
mode,
(unsigned) member->ar_uid,
(unsigned) member->ar_gid,
(unsigned) (member->ar_uid & 0377),
(unsigned) (member->ar_gid & 0377),
member->ar_size,
date+4,
date+20,