summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-03-22 15:54:44 +0000
committermarkm <markm@FreeBSD.org>2002-03-22 15:54:44 +0000
commit09171e09d6250c4cd8015e74e4231b0c8da70ac9 (patch)
tree89553725d2777e1c9cf745e6a991643314bd7eee /bin
parent04a550f0428b4c2e6366447b68fdba6ea3889876 (diff)
downloadFreeBSD-src-09171e09d6250c4cd8015e74e4231b0c8da70ac9.zip
FreeBSD-src-09171e09d6250c4cd8015e74e4231b0c8da70ac9.tar.gz
No need to cast; ().gr_gid is already the correct type.
Diffstat (limited to 'bin')
-rw-r--r--bin/pax/sel_subs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pax/sel_subs.c b/bin/pax/sel_subs.c
index d3c5653..1dfa616 100644
--- a/bin/pax/sel_subs.c
+++ b/bin/pax/sel_subs.c
@@ -236,7 +236,7 @@ grp_add(char *str)
paxwarn(1,"Cannot determine gid for group name: %s", str);
return(-1);
}
- gid = (gid_t)gr->gr_gid;
+ gid = gr->gr_gid;
} else
# ifdef NET2_STAT
gid = (gid_t)atoi(str+1);
OpenPOWER on IntegriCloud