diff options
author | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-17 15:38:00 +0000 |
---|---|---|
committer | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-17 15:38:00 +0000 |
commit | ffe39bd3b66eb5090684959e7f2409346ab72d93 (patch) | |
tree | a57a3e648b5bfaa8d6fd3fb7dd40352d879320c8 /gm/shadows.cpp | |
parent | 5b94153a7b039a9269a8aabbe8f0da0e878e3978 (diff) |
Fix type errors and a few warnings for Visual Studio 2010 64-bit build.
We're still far from 64b statically safe, mostly around SkReader32.h
and the address-alignment code in GrTypes.h.
Original code provided by jianliang79.
http://code.google.com/p/skia/issues/detail?id=601
git-svn-id: http://skia.googlecode.com/svn/trunk@3994 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/shadows.cpp')
-rw-r--r-- | gm/shadows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/shadows.cpp b/gm/shadows.cpp index e9274c72a6..2fb1615cf9 100644 --- a/gm/shadows.cpp +++ b/gm/shadows.cpp @@ -95,7 +95,7 @@ protected: paint.setLooper(shadowLoopers[i]); - canvas->translate(SkIntToScalar(i*40), SkIntToScalar(0)); + canvas->translate(SkIntToScalar((unsigned int)i*40), SkIntToScalar(0)); setup(&paint, gRec[0].fColor, gRec[0].fStrokeWidth); canvas->drawRect(fRect, paint); |