aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkMatrix44.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkMatrix44.h')
-rw-r--r--include/core/SkMatrix44.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkMatrix44.h b/include/core/SkMatrix44.h
index c1b74582cb..398204cc20 100644
--- a/include/core/SkMatrix44.h
+++ b/include/core/SkMatrix44.h
@@ -56,7 +56,7 @@
return x;
}
static inline float SkDoubleToMScalar(double x) {
- return static_cast<float>(x);
+ return sk_double_to_float(x);
}
static inline double SkMScalarToDouble(float x) {
return static_cast<double>(x);