Index: src/gpu/GrMemoryPool.cpp |
=================================================================== |
--- src/gpu/GrMemoryPool.cpp (revision 11758) |
+++ src/gpu/GrMemoryPool.cpp (working copy) |
@@ -41,7 +41,7 @@ |
size = GrSizeAlignUp(size, kAlignment); |
size += kPerAllocPad; |
if (fTail->fFreeSize < size) { |
- int blockSize = size; |
+ size_t blockSize = size; |
blockSize = GrMax<size_t>(blockSize, fMinAllocSize); |
BlockHeader* block = CreateBlock(blockSize); |