fix int->scalar warnings

git-svn-id: http://skia.googlecode.com/svn/trunk@14990 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleSubpixelTranslate.cpp b/samplecode/SampleSubpixelTranslate.cpp
index dd1ba11..686a153 100644
--- a/samplecode/SampleSubpixelTranslate.cpp
+++ b/samplecode/SampleSubpixelTranslate.cpp
@@ -51,7 +51,7 @@
 protected:
     SkBitmap fBM;
     SkString fFilename;
-    int fSize;
+    SkScalar fSize;
     float fHorizontalVelocity, fVerticalVelocity;
 
     SkPoint fCurPos;
@@ -122,5 +122,5 @@
 
 //////////////////////////////////////////////////////////////////////////////
 
-static SkView* MyFactory() { return new SubpixelTranslateView("mandrill_256.png", .05, .05); }
+static SkView* MyFactory() { return new SubpixelTranslateView("mandrill_256.png", .05f, .05f); }
 static SkViewRegister reg(MyFactory);