]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
typecast the tolower() argument to an int to prevent compiler warning
authorDaniel Stenberg <daniel@haxx.se>
Wed, 21 Apr 2004 11:15:35 +0000 (11:15 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 21 Apr 2004 11:15:35 +0000 (11:15 +0000)
lib/getdate.y

index 4362443e586143cc51a3124f4e3ffb3615836611..0e508e4a401bb2ab430504877ece48a4652989b1 100644 (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)
     {