From d11fb61c369fb07f0637ee79ac9adfe107b2c24a Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Fri, 14 Aug 2020 14:46:09 +0000 Subject: [PATCH] Fix compile warnings with PRVM_64 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12902 d7cf8633-e32d-0410-b094-e92efae38249 --- prvm_execprogram.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.2