Commit 26f6e5d8 by apatrick@chromium.org

Added missing printf format type.

%z was actually just a modifier. Review URL: https://codereview.appspot.com/5569082 git-svn-id: https://angleproject.googlecode.com/svn/trunk@979 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent afcd3883
#define MAJOR_VERSION 1
#define MINOR_VERSION 0
#define BUILD_VERSION 0
#define BUILD_REVISION 976
#define BUILD_REVISION 978
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
......
......@@ -161,7 +161,7 @@ void TAllocation::checkGuardBlock(unsigned char* blockMem, unsigned char val, co
sprintf(assertMsg, "PoolAlloc: Damage %s %Iu byte allocation at 0x%p\n",
locText, size, data());
#else
sprintf(assertMsg, "PoolAlloc: Damage %s %z byte allocation at 0x%p\n",
sprintf(assertMsg, "PoolAlloc: Damage %s %zu byte allocation at 0x%p\n",
locText, size, data());
#endif
assert(0 && "PoolAlloc: Damage in guard block");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment