summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/passdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index dbe5a48763..a4bb657e80 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -583,7 +583,7 @@ static time_t get_time_from_string(char *p)
for (i = 0; i < 8; i++)
{
- if (p[i] == '\0' || !isxdigit(p[i]))
+ if (p[i] == '\0' || !isxdigit((int)(p[i]&0xFF)))
break;
}
if (i == 8)