From 82bbfe342f3894b85393e364242854bad1ebce00 Mon Sep 17 00:00:00 2001 From: black Date: Mon, 6 Dec 2004 13:32:11 +0000 Subject: [PATCH] -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 --- pr_exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.39.2