summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/pw.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldap/servers/slapd/pw.c')
-rw-r--r--ldap/servers/slapd/pw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/servers/slapd/pw.c b/ldap/servers/slapd/pw.c
index bb9e200b..753663a5 100644
--- a/ldap/servers/slapd/pw.c
+++ b/ldap/servers/slapd/pw.c
@@ -782,7 +782,7 @@ check_pw_syntax_ext ( Slapi_PBlock *pb, const Slapi_DN *sdn, Slapi_Value **vals,
num_digits++;
} else if ( ldap_utf8isalpha( p ) ) {
num_alphas++;
- if ( slapi_utf8isLower( p ) ) {
+ if ( slapi_utf8isLower( (unsigned char *)p ) ) {
num_lowers++;
} else {
num_uppers++;