1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-03 12:58:35 +03:00

Fixed warning in get_time_from_string().

Jeremy.
This commit is contained in:
Jeremy Allison -
parent e570db46fc
commit e9b7ff0dec

View File

@ -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)