mirror of
https://github.com/curl/curl.git
synced 2026-07-24 20:17:17 +03:00
typecast the tolower() argument to an int to prevent compiler warning
This commit is contained in:
parent
9ba010c629
commit
a85fa66cc8
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue