typecast the tolower() argument to an int to prevent compiler warning

This commit is contained in:
Daniel Stenberg 2004-04-21 11:15:35 +00:00
parent 9ba010c629
commit a85fa66cc8
1 changed files with 1 additions and 1 deletions

View File

@ -751,7 +751,7 @@ LookupWord (YYSTYPE *yylval, char *buff)
/* Make it lowercase. */
for (p = buff; *p; p++)
if (ISUPPER ((unsigned char) *p))
*p = tolower (*p);
*p = tolower ((int)*p);
if (strcmp (buff, "am") == 0 || strcmp (buff, "a.m.") == 0)
{