commit | adacc7067ad617cdc7bbef39192ca80f4b4d27f9 | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Oct 14 21:53:24 2013 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Oct 14 21:53:24 2013 +0000 |
tree | 3f6a13154d08c42648ccea82257f37f7c321b00e | |
parent | 04b57f87ab6789f7fc302eda8a993d88d4feea8f [diff] [blame] |
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
diff --git a/src/utils/SkDeferredCanvas.cpp b/src/utils/SkDeferredCanvas.cpp index 4509038..ce5eb5e 100644 --- a/src/utils/SkDeferredCanvas.cpp +++ b/src/utils/SkDeferredCanvas.cpp
@@ -106,7 +106,7 @@ PipeBlock previousBloc(fBlock, fBytesWritten); fBlockList.push(previousBloc); } - int32_t blockSize = SkMax32(minRequest, kMinBlockSize); + size_t blockSize = SkTMax<size_t>(minRequest, kMinBlockSize); fBlock = fAllocator.allocThrow(blockSize); fBytesWritten = 0; *actual = blockSize;