Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Unified Diff: src/gpu/effects/GrRRectEffect.cpp

Issue 172233004: Add f suffix to 0.5 to fix mac 10.6 warning (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/effects/GrRRectEffect.cpp
diff --git a/src/gpu/effects/GrRRectEffect.cpp b/src/gpu/effects/GrRRectEffect.cpp
index a2a6af7924881f6c0d29bd6466cbdd76caa92ac1..3923a6f36bc2e76fe82101b2973b6067b1eb3e53 100644
--- a/src/gpu/effects/GrRRectEffect.cpp
+++ b/src/gpu/effects/GrRRectEffect.cpp
@@ -15,7 +15,7 @@
// This effect only supports circular corner rrects where all corners have the same radius
// which must be <= kRadiusMin.
-static const SkScalar kRadiusMin = 0.5;
+static const SkScalar kRadiusMin = 0.5f;
//////////////////////////////////////////////////////////////////////////////
class GrGLRRectEffect : public GrGLEffect {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698