diff options
author | 2011-04-14 17:53:24 +0000 | |
---|---|---|
committer | 2011-04-14 17:53:24 +0000 | |
commit | 261b8e2ca1cf22303ad95267f0bdc6e87e1bbe70 (patch) | |
tree | 4790daae42b569ae19627a12a5d7ef8473e58f20 /samplecode/SampleCull.cpp | |
parent | 9ccdb95319e36dd58629117d9a5ea3c8581f7759 (diff) |
fix warnings
git-svn-id: http://skia.googlecode.com/svn/trunk@1129 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SampleCull.cpp')
-rw-r--r-- | samplecode/SampleCull.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/SampleCull.cpp b/samplecode/SampleCull.cpp index ea1bb779ec..fb6231dd41 100644 --- a/samplecode/SampleCull.cpp +++ b/samplecode/SampleCull.cpp @@ -106,8 +106,8 @@ public: SkRandom rand; for (int i = 0; i < 50; i++) { - int x = nextScalarRange(rand, -fClip.width()*1, fClip.width()*2); - int y = nextScalarRange(rand, -fClip.height()*1, fClip.height()*2); + SkScalar x = nextScalarRange(rand, -fClip.width()*1, fClip.width()*2); + SkScalar y = nextScalarRange(rand, -fClip.height()*1, fClip.height()*2); if (i == 0) fPath.moveTo(x, y); else |