From: Daniel Stenberg Date: Wed, 21 Apr 2004 11:15:35 +0000 (+0000) Subject: typecast the tolower() argument to an int to prevent compiler warning X-Git-Tag: curl-7_11_2~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a85fa66cc81c7989f39c2412b4bbe3f6b8731c3a;p=thirdparty%2Fcurl.git typecast the tolower() argument to an int to prevent compiler warning --- diff --git a/lib/getdate.y b/lib/getdate.y index 4362443e58..0e508e4a40 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) {