]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Fix compile warnings with PRVM_64
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 14 Aug 2020 14:46:09 +0000 (14:46 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 14 Aug 2020 14:46:09 +0000 (14:46 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12902 d7cf8633-e32d-0410-b094-e92efae38249

prvm_execprogram.h

index e0cc872a7a1b34614f4513051b12e2b0882dadde..7acd0cc81bacadf1b847fecc83fe93a357cf551e 100644 (file)
@@ -1047,7 +1047,7 @@ int i;
                                if ((unsigned int)OPA->_int < (unsigned int)st->operand[2] || (unsigned int)OPA->_int >= (unsigned int)st->operand[1])
                                {
                                        PRE_ERROR();
-                                       prog->error_cmd("Progs boundcheck failed in %s, value is < %d or >= %d", prog->name, OPC->_int, OPB->_int);
+                                       prog->error_cmd("Progs boundcheck failed in %s, value is < %" PRVM_PRIi " or >= %" PRVM_PRIi, prog->name, OPC->_int, OPB->_int);
                                        goto cleanup;
                                }
                                DISPATCH_OPCODE();