From d2bede4383405e22a7286a0fce4c6b871679a0f6 Mon Sep 17 00:00:00 2001 From: Loring Holden Date: Fri, 28 Apr 2000 21:14:52 +0000 Subject: [PATCH] Cast isspace() parameter to int in order to avoid error under Irix --- common/cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd.c b/common/cmd.c index 52ea85f..d67f902 100644 --- a/common/cmd.c +++ b/common/cmd.c @@ -227,7 +227,7 @@ Cbuf_Execute_Sets (void) extract_line (line); // execute the command line if (strncmp(line,"set",3)==0 - && isspace(line[3])) + && isspace((int) line[3])) Con_DPrintf("+%s\n",line), Cmd_ExecuteString (line, src_command); }