]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_execprogram.h
Fix compile warnings with PRVM_64
[xonotic/darkplaces.git] / 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();