From 080958599e57251ff9a05f66559bd8888dcfe6a8 Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Fri, 27 Sep 2013 12:27:27 +0000 Subject: Compiler warning/error fix for Chromium git-svn-id: http://skia.googlecode.com/svn/trunk@11494 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/core/SkPathRef.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/core/SkPathRef.h') diff --git a/include/core/SkPathRef.h b/include/core/SkPathRef.h index 5e0e7bbfde..f397d678d9 100644 --- a/include/core/SkPathRef.h +++ b/include/core/SkPathRef.h @@ -347,11 +347,11 @@ public: * Gets the number of bytes that would be written in writeBuffer() */ uint32_t writeSize() { - return 5 * sizeof(uint32_t) + - fVerbCnt * sizeof(uint8_t) + - fPointCnt * sizeof(SkPoint) + - fConicWeights.bytes() + - sizeof(SkRect); + return uint32_t(5 * sizeof(uint32_t) + + fVerbCnt * sizeof(uint8_t) + + fPointCnt * sizeof(SkPoint) + + fConicWeights.bytes() + + sizeof(SkRect)); } private: -- cgit v1.2.3