1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

libcli/security: Cast isupper() argument to ‘unsigned char’

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-07-20 13:26:27 +12:00 committed by Andrew Bartlett
parent 60f4d873b7
commit 748cbac2fa

View File

@ -555,7 +555,7 @@ static struct security_acl *sddl_decode_acl(struct security_descriptor *sd,
if (acl == NULL) return NULL;
acl->revision = SECURITY_ACL_REVISION_ADS;
if (isupper(sddl[0]) && sddl[1] == ':') {
if (isupper((unsigned char)sddl[0]) && sddl[1] == ':') {
/* its an empty ACL */
return acl;
}