From 261b8e2ca1cf22303ad95267f0bdc6e87e1bbe70 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Thu, 14 Apr 2011 17:53:24 +0000 Subject: fix warnings git-svn-id: http://skia.googlecode.com/svn/trunk@1129 2bbb7eff-a529-9590-31e7-b0007b416f81 --- samplecode/SamplePath.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'samplecode/SamplePath.cpp') 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 -- cgit v1.2.3