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

@@ -698,8 +698,8 @@ sudo_sss_check_runas_group(struct sudo_sss_handle *handle, struct sss_sudo_rule
static bool
sudo_sss_check_runas(struct sudo_sss_handle *handle, struct sss_sudo_rule *rule)
{
bool user_matched = UNSPEC;
bool group_matched = UNSPEC;
int user_matched = UNSPEC;
int group_matched = UNSPEC;
debug_decl(sudo_sss_check_runas, SUDOERS_DEBUG_SSSD);
if (rule == NULL)