summaryrefslogtreecommitdiff
path: root/src/rc/rc-misc.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-09 23:22:04 +0000
committerRoy Marples <roy@marples.name>2008-01-09 23:22:04 +0000
commitddf25cbcb76bccbfe28d15f1e73c637becaa54e7 (patch)
tree6ade72713da143021e78a361c534d143b267707a /src/rc/rc-misc.c
parent06634f6309f07613cd6a086a6b383daad65192c0 (diff)
downloadopenrc-ddf25cbcb76bccbfe28d15f1e73c637becaa54e7.tar.gz
openrc-ddf25cbcb76bccbfe28d15f1e73c637becaa54e7.tar.bz2
openrc-ddf25cbcb76bccbfe28d15f1e73c637becaa54e7.tar.xz
Compile without warnings on NetBSD
Diffstat (limited to 'src/rc/rc-misc.c')
-rw-r--r--src/rc/rc-misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rc/rc-misc.c b/src/rc/rc-misc.c
index 79db432..3cfbe17 100644
--- a/src/rc/rc-misc.c
+++ b/src/rc/rc-misc.c
@@ -82,8 +82,8 @@ char *rc_conf_value (const char *setting)
STRLIST_FOREACH (rc_conf, line, i) {
char *p = line;
while (p && *p && *p != '=') {
- if (isupper (*p))
- *p = tolower (*p);
+ if (isupper ((int) *p))
+ *p = tolower ((int) *p);
p++;
}
}