From a85fa66cc81c7989f39c2412b4bbe3f6b8731c3a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 21 Apr 2004 11:15:35 +0000 Subject: [PATCH] typecast the tolower() argument to an int to prevent compiler warning --- lib/getdate.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/getdate.y b/lib/getdate.y index 4362443e5..0e508e4a4 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -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) {