Skip to content
Snippets Groups Projects
Commit a85fa66c authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent 9ba010c6
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment