summaryrefslogtreecommitdiffstats
path: root/mbbsd/name.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/name.c')
-rw-r--r--mbbsd/name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/name.c b/mbbsd/name.c
index 6ee8849f..db96eb08 100644
--- a/mbbsd/name.c
+++ b/mbbsd/name.c
@@ -449,7 +449,7 @@ usercomplete(char *prompt, char *data)
outc(' ');
move(y, x);
continue;
- } else if (count < STRLEN && isprint(ch)) {
+ } else if (count < STRLEN && isprint((int)ch)) {
int n;
*temp++ = ch;