summaryrefslogtreecommitdiffstats
path: root/mbbsd/topsong.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/topsong.c')
-rw-r--r--mbbsd/topsong.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/topsong.c b/mbbsd/topsong.c
index 073f0138..07931aa0 100644
--- a/mbbsd/topsong.c
+++ b/mbbsd/topsong.c
@@ -55,7 +55,7 @@ sortsong()
while (fgets(buf, 200, fp)) {
strtok(buf, "\n\r");
strip_blank(cbuf, buf);
- if (!cbuf[0] || !isprint2(cbuf[0]))
+ if (!cbuf[0] || !isprint2((int)cbuf[0]))
continue;
for (n = 0; n < MAX_SONGS && songs[n].name[0]; n++)