Compile without warnings on NetBSD

This commit is contained in:
Roy Marples
2008-01-09 23:22:04 +00:00
parent 06634f6309
commit ddf25cbcb7
6 changed files with 35 additions and 15 deletions

View File

@@ -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++;
}
}