commit | 820e80ad6390e120d4991a5280d0452ec87beaeb | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Oct 24 21:09:40 2011 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Oct 24 21:09:40 2011 +0000 |
tree | 463440199a9e08e46baf84d704d92ee37f94394c | |
parent | 45dd1fa3cf845e46cd8f994a1cc664d4cb137131 [diff] [blame] |
Fix some warnings on VS2010 Review URL: http://codereview.appspot.com/5312051/ git-svn-id: http://skia.googlecode.com/svn/trunk@2520 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleFontScalerTest.cpp b/samplecode/SampleFontScalerTest.cpp index 9d3e153..062eca3 100644 --- a/samplecode/SampleFontScalerTest.cpp +++ b/samplecode/SampleFontScalerTest.cpp
@@ -102,7 +102,8 @@ SkScalar y = SkIntToScalar(20); SkAutoCanvasRestore acr(canvas, true); - canvas->translate(50 + i * 230, 20); + canvas->translate(SkIntToScalar(50 + i * 230), + SkIntToScalar(20)); rotate_about(canvas, i * 5, x, y * 10); {