aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleFontScalerTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SampleFontScalerTest.cpp')
-rw-r--r--samplecode/SampleFontScalerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleFontScalerTest.cpp b/samplecode/SampleFontScalerTest.cpp
index 062eca3386..83f962ecac 100644
--- a/samplecode/SampleFontScalerTest.cpp
+++ b/samplecode/SampleFontScalerTest.cpp
@@ -104,7 +104,7 @@ protected:
SkAutoCanvasRestore acr(canvas, true);
canvas->translate(SkIntToScalar(50 + i * 230),
SkIntToScalar(20));
- rotate_about(canvas, i * 5, x, y * 10);
+ rotate_about(canvas, SkIntToScalar(i * 5), x, y * 10);
{
SkPaint p;