From 820e80ad6390e120d4991a5280d0452ec87beaeb Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Mon, 24 Oct 2011 21:09:40 +0000 Subject: 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 --- samplecode/SampleFontScalerTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'samplecode/SampleFontScalerTest.cpp') diff --git a/samplecode/SampleFontScalerTest.cpp b/samplecode/SampleFontScalerTest.cpp index 9d3e153e07..062eca3386 100644 --- a/samplecode/SampleFontScalerTest.cpp +++ b/samplecode/SampleFontScalerTest.cpp @@ -102,7 +102,8 @@ protected: 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); { -- cgit v1.2.3