summaryrefslogtreecommitdiff
path: root/src/display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/display.c')
-rw-r--r--src/display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/display.c b/src/display.c
index 77dd325..083c3a6 100644
--- a/src/display.c
+++ b/src/display.c
@@ -74,7 +74,7 @@ _XcursorDefaultParseBool (char *v)
c0 = *v;
if (isupper ((int)c0))
- c0 = tolower (c0);
+ c0 = (char) tolower (c0);
if (c0 == 't' || c0 == 'y' || c0 == '1')
return 1;
if (c0 == 'f' || c0 == 'n' || c0 == '0')
@@ -83,7 +83,7 @@ _XcursorDefaultParseBool (char *v)
{
c1 = v[1];
if (isupper ((int)c1))
- c1 = tolower (c1);
+ c1 = (char) tolower (c1);
if (c1 == 'n')
return 1;
if (c1 == 'f')