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
diff --git a/samplecode/SampleLineClipper.cpp b/samplecode/SampleLineClipper.cpp
index 8565470..94374b5 100644
--- a/samplecode/SampleLineClipper.cpp
+++ b/samplecode/SampleLineClipper.cpp
@@ -29,7 +29,8 @@
static int test0(SkPoint pts[], SkRect* clip) {
pts[0].set(200000, 140);
pts[1].set(-740000, 483);
- pts[2].set(1.00000102e-06f, 9.10000017e-05f);
+ pts[2].set(SkFloatToScalar(1.00000102e-06f),
+ SkFloatToScalar(9.10000017e-05f));
clip->set(0, 0, 640, 480);
return 2;
}