diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-04-14 17:53:24 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-04-14 17:53:24 +0000 |
commit | 261b8e2ca1cf22303ad95267f0bdc6e87e1bbe70 (patch) | |
tree | 4790daae42b569ae19627a12a5d7ef8473e58f20 /samplecode/SamplePath.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/SamplePath.cpp')
-rw-r--r-- | samplecode/SamplePath.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/samplecode/SamplePath.cpp b/samplecode/SamplePath.cpp index 2c8e8c2026..187de223a0 100644 --- a/samplecode/SamplePath.cpp +++ b/samplecode/SamplePath.cpp @@ -21,10 +21,10 @@ // http://code.google.com/p/skia/issues/detail?id=32 static void test_cubic() { SkPoint src[4] = { - { 556.25000, 523.03003 }, - { 556.23999, 522.96002 }, - { 556.21997, 522.89001 }, - { 556.21997, 522.82001 } + { 556.25000f, 523.03003f }, + { 556.23999f, 522.96002f }, + { 556.21997f, 522.89001f }, + { 556.21997f, 522.82001f } }; SkPoint dst[11]; dst[10].set(42, -42); // one past the end, that we don't clobber these |