Quiet a few Solaris Studio compiler warnings.

This commit is contained in:
Todd C. Miller
2021-03-10 08:57:28 -07:00
parent b8e588565b
commit 3f11e8d9a6
5 changed files with 8 additions and 8 deletions

View File

@@ -55,7 +55,7 @@ bool
get_pty(int *leader, int *follower, char *name, size_t namesz, uid_t ttyuid)
{
struct group *gr;
gid_t ttygid = -1;
gid_t ttygid = (gid_t)-1;
bool ret = false;
debug_decl(get_pty, SUDO_DEBUG_PTY);