summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-09-29 20:36:18 +0000
committerJeremy Allison <jra@samba.org>1998-09-29 20:36:18 +0000
commitd60168c4f945ac3e777eb9960b4c73d66126ce4e (patch)
tree98aaf93e7d0375aa5bb56a653676d634adda597f
parent9066025a8a4afe1f7f559c455d86fc023792ed17 (diff)
downloadsamba-d60168c4f945ac3e777eb9960b4c73d66126ce4e.tar.gz
samba-d60168c4f945ac3e777eb9960b4c73d66126ce4e.tar.bz2
samba-d60168c4f945ac3e777eb9960b4c73d66126ce4e.zip
Fixed warning in get_time_from_string().
Jeremy. (This used to be commit e9b7ff0dece2252b28be1ed526f43ff2bdf86ade)
-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)