diff options
-rw-r--r-- | source3/passdb/passdb.c | 2 |
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) |