mirror of
https://github.com/opnsense/src.git
synced 2026-06-13 18:50:31 -04:00
No need to cast; ().gr_gid is already the correct type.
This commit is contained in:
parent
496ffc90e4
commit
d080dfa558
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue