diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-08 13:15:37 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-08 13:15:37 +0000 |
commit | c6ce750c73c6586a5c2e88a0620b04e9569af401 (patch) | |
tree | bfa313ab7b16bae4898a767524f510218ca71161 /samplecode/SampleSlides.cpp | |
parent | 83edde21f3945f988656c023384bd33e87f8b48d (diff) |
Fixed some fixed point build Windows compiler complaints
http://codereview.appspot.com/6197063/
git-svn-id: http://skia.googlecode.com/svn/trunk@3867 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SampleSlides.cpp')
-rw-r--r-- | samplecode/SampleSlides.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleSlides.cpp b/samplecode/SampleSlides.cpp index 52510360a5..49a4ee5945 100644 --- a/samplecode/SampleSlides.cpp +++ b/samplecode/SampleSlides.cpp @@ -75,7 +75,7 @@ static void one_d_pe(SkPaint* paint) { path.lineTo(SkIntToScalar(gXY[i]), SkIntToScalar(gXY[i+1])); path.close(); path.offset(SkIntToScalar(-6), 0); - scale(&path, 1.5); + scale(&path, SkFloatToScalar(1.5f)); paint->setPathEffect(new SkPath1DPathEffect(path, SkIntToScalar(21), 0, SkPath1DPathEffect::kRotate_Style))->unref(); |