aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc-logger.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-04-17 10:19:58 +0000
committerRoy Marples <roy@marples.name>2008-04-17 10:19:58 +0000
commitf0aacec02eb04f1843cc5c729fd5510c2342660c (patch)
tree6f2ed637801be469663811f92e0833714ff4eb22 /src/rc/rc-logger.c
parent57e1dd7389229718b170d5c6fe52b0b051729801 (diff)
Cast to unsigned char for ctype calls.
Diffstat (limited to 'src/rc/rc-logger.c')
-rw-r--r--src/rc/rc-logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/rc-logger.c b/src/rc/rc-logger.c
index 96b7bb73..8f62ebae 100644
--- a/src/rc/rc-logger.c
+++ b/src/rc/rc-logger.c
@@ -103,7 +103,7 @@ static void write_log(int logfd, const char *buffer, size_t bytes)
continue;
}
- if (! in_term || isalpha((int) *p))
+ if (! in_term || isalpha((unsigned char)*p))
in_escape = in_term = false;
cont:
p++;