From 6e7ddee374fa011c637baca69caac97938e8406c Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Wed, 19 Feb 2014 15:50:25 +0000 Subject: Add f suffix to 0.5 to fix mac 10.6 warning BUG=skia:2195 Review URL: https://codereview.chromium.org/172233004 git-svn-id: http://skia.googlecode.com/svn/trunk@13500 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/effects/GrRRectEffect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpu/effects/GrRRectEffect.cpp b/src/gpu/effects/GrRRectEffect.cpp index a2a6af7924..3923a6f36b 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 { -- cgit v1.2.3