aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-11 11:18:12 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-11 11:18:12 +0000
commitafe38b16f082c8d88039339591376be54c7e801b (patch)
tree9bd995c91958e9fcd4f2d6cb155cc5aede6e4b63 /src/core
parent046f1f6ff4b2b3f4571a9562e74f41e82419a4a1 (diff)
Fix broken debug build
BUG=skia: R=tomhudson@google.com Author: iancottrell@google.com Review URL: https://codereview.chromium.org/143223005 git-svn-id: http://skia.googlecode.com/svn/trunk@13397 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkWriter32.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkWriter32.cpp b/src/core/SkWriter32.cpp
index 7285459c3d..1e8a10c87c 100644
--- a/src/core/SkWriter32.cpp
+++ b/src/core/SkWriter32.cpp
@@ -81,6 +81,6 @@ void SkWriter32::growToAtLeast(size_t size) {
// Expand the array so all reserved space is "used", we maintain the
// amount we have written manually outside the array
fInternal.setCount(fCapacity);
- SkASSERT(fInternal.count() == fCapacity);
- SkASSERT(fInternal.reserved() == fCapacity);
+ SkASSERT(fInternal.count() == (int)fCapacity);
+ SkASSERT(fInternal.reserved() == (int)fCapacity);
}