]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
-Fixed another signed/unsigned warning after the type change of func_t.
authorblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 6 Dec 2004 13:32:11 +0000 (13:32 +0000)
committerblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 6 Dec 2004 13:32:11 +0000 (13:32 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4830 d7cf8633-e32d-0410-b094-e92efae38249

pr_exec.c

index 19d6d8ee9d3ad0ea5733c410a9361996e22ad3ae..c516fec7f2e6820ac648d3806252a1bb77016851 100644 (file)
--- 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));