diff options
Diffstat (limited to 'mbbsd/chat.c')
-rw-r--r-- | mbbsd/chat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/chat.c b/mbbsd/chat.c index b911b47c..caf3f1b8 100644 --- a/mbbsd/chat.c +++ b/mbbsd/chat.c @@ -268,7 +268,7 @@ const static chat_command_t chat_cmdtbl[] = { static int chat_cmd_match(char *buf, char *str) { - while (*str && *buf && !isspace(*buf)) + while (*str && *buf && !isspace((int)*buf)) if (tolower(*buf++) != *str++) return 0; return 1; |