Index: include/core/SkFloatingPoint.h |
diff --git a/include/core/SkFloatingPoint.h b/include/core/SkFloatingPoint.h |
index 432f53d22aa07580a4a14d0f58d13e55214ac281..ad1669c4ee3ade7a0aaaaf9589bda4bc80fcb839 100644 |
--- a/include/core/SkFloatingPoint.h |
+++ b/include/core/SkFloatingPoint.h |
@@ -38,7 +38,7 @@ static inline float sk_float_copysign(float x, float y) { |
# define SK_BUILD_WITH_CLANG_CL 0 |
#endif |
#if (!SK_BUILD_WITH_CLANG_CL && __cplusplus >= 201103L) || (_MSC_VER >= 1800) |
- return copysign(x, y); |
+ return copysignf(x, y); |
// Posix has demanded 'float copysignf(float, float)' (from C99) since Issue 6. |
#elif defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L |