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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
    {