aboutsummaryrefslogtreecommitdiff
path: root/lib/getdate.y
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-21 11:15:35 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-21 11:15:35 +0000
commita85fa66cc81c7989f39c2412b4bbe3f6b8731c3a (patch)
tree4c48c74b3116cafb79966db4b6da523ab8659136 /lib/getdate.y
parent9ba010c6291b7834898103621e8d8efb95b89da5 (diff)
typecast the tolower() argument to an int to prevent compiler warning
Diffstat (limited to 'lib/getdate.y')
-rw-r--r--lib/getdate.y2
1 files changed, 1 insertions, 1 deletions
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)
{