diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-14 21:53:24 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-14 21:53:24 +0000 |
commit | adacc7067ad617cdc7bbef39192ca80f4b4d27f9 (patch) | |
tree | 3f6a13154d08c42648ccea82257f37f7c321b00e /src/gpu/GrMemoryPool.cpp | |
parent | 04b57f87ab6789f7fc302eda8a993d88d4feea8f (diff) |
Start cleaning up 64bit Win warnings
https://codereview.chromium.org/27192003/
git-svn-id: http://skia.googlecode.com/svn/trunk@11764 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrMemoryPool.cpp')
-rw-r--r-- | src/gpu/GrMemoryPool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrMemoryPool.cpp b/src/gpu/GrMemoryPool.cpp index deb7d1a814..75a3c9a3b9 100644 --- a/src/gpu/GrMemoryPool.cpp +++ b/src/gpu/GrMemoryPool.cpp @@ -41,7 +41,7 @@ void* GrMemoryPool::allocate(size_t size) { 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); |