diff options
Diffstat (limited to 'src/rc/rc-misc.c')
-rw-r--r-- | src/rc/rc-misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rc/rc-misc.c b/src/rc/rc-misc.c index 6e94ad69..85140aac 100644 --- a/src/rc/rc-misc.c +++ b/src/rc/rc-misc.c @@ -93,8 +93,8 @@ char *rc_conf_value(const char *setting) TAILQ_FOREACH(s, rc_conf, entries) { p = s->value; while (p && *p && *p != '=') { - if (isupper((int) *p)) - *p = tolower((int) *p); + if (isupper((unsigned char)*p)) + *p = tolower((unsigned char)*p); p++; } } |