Commit c742fca5 by apatrick@chromium.org

Fix warning in PoolAlloc.cpp.

Use "I" instead of "l" as printf type prefix for size_t. Review URL: https://codereview.appspot.com/5572071 git-svn-id: https://angleproject.googlecode.com/svn/trunk@966 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent e057c5dd
...@@ -157,7 +157,7 @@ void TAllocation::checkGuardBlock(unsigned char* blockMem, unsigned char val, co ...@@ -157,7 +157,7 @@ void TAllocation::checkGuardBlock(unsigned char* blockMem, unsigned char val, co
char assertMsg[80]; char assertMsg[80];
// We don't print the assert message. It's here just to be helpful. // We don't print the assert message. It's here just to be helpful.
sprintf(assertMsg, "PoolAlloc: Damage %s %lu byte allocation at 0x%p\n", sprintf(assertMsg, "PoolAlloc: Damage %s %Iu byte allocation at 0x%p\n",
locText, size, data()); locText, size, data());
assert(0 && "PoolAlloc: Damage in guard block"); 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