From: black Date: Mon, 6 Dec 2004 13:32:11 +0000 (+0000) Subject: -Fixed another signed/unsigned warning after the type change of func_t. X-Git-Tag: xonotic-v0.1.0preview~5308 X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=82bbfe342f3894b85393e364242854bad1ebce00;p=xonotic%2Fdarkplaces.git -Fixed another signed/unsigned warning after the type change of func_t. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4830 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/pr_exec.c b/pr_exec.c index 19d6d8ee..c516fec7 100644 --- a/pr_exec.c +++ b/pr_exec.c @@ -386,7 +386,7 @@ void PR_ExecuteProgram (func_t fnum, const char *errormessage) eval_t *ptr; int profile, startprofile, cachedpr_trace, exitdepth; - if (!fnum || fnum >= progs->numfunctions) + if (!fnum || fnum >= (unsigned) progs->numfunctions) { if (pr_global_struct->self) ED_Print(PROG_TO_EDICT(pr_global_struct->self));