From a27aca541b587846c7b97413859504cab32df980 Mon Sep 17 00:00:00 2001 From: Marcus Sundberg Date: Sun, 27 Feb 2000 22:10:13 +0000 Subject: [PATCH] Fix warnings. --- common/cl_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/cl_main.c b/common/cl_main.c index 9f06b6b..5c96a95 100644 --- a/common/cl_main.c +++ b/common/cl_main.c @@ -473,9 +473,9 @@ void CL_ConnectionlessPacket (void) s = MSG_ReadString (); - while (*s && isspace(*s)) + while (*s && isspace((int)*s)) s++; - while (*s && isspace(s[strlen(s) - 1])) + while (*s && isspace((int)s[strlen(s) - 1])) s[strlen(s) - 1] = 0; if (!allowremotecmd && (!*localid->string || strcmp(localid->string, s))) {