From: cloudwalk Date: Fri, 14 Aug 2020 14:46:09 +0000 (+0000) Subject: Fix compile warnings with PRVM_64 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d11fb61c369fb07f0637ee79ac9adfe107b2c24a;p=xonotic%2Fdarkplaces.git Fix compile warnings with PRVM_64 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12902 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/prvm_execprogram.h b/prvm_execprogram.h index e0cc872a..7acd0cc8 100644 --- a/prvm_execprogram.h +++ b/prvm_execprogram.h @@ -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();