user_matched and group_matched must be type int, not bool

This commit is contained in:
Todd C. Miller
2016-09-15 15:22:06 -06:00
parent b165a5ff71
commit 9a55c0c25d
2 changed files with 4 additions and 4 deletions

View File

@@ -854,8 +854,8 @@ sudo_ldap_check_runas_group(LDAP *ld, LDAPMessage *entry)
static bool
sudo_ldap_check_runas(LDAP *ld, LDAPMessage *entry)
{
bool user_matched = UNSPEC;
bool group_matched = UNSPEC;
int user_matched = UNSPEC;
int group_matched = UNSPEC;
debug_decl(sudo_ldap_check_runas, SUDOERS_DEBUG_LDAP)
if (!entry)