tweaked previous warning fixes
diff --git a/src/hb-cff-interp-common.hh b/src/hb-cff-interp-common.hh
index 538f987..ed3c6f0 100644
--- a/src/hb-cff-interp-common.hh
+++ b/src/hb-cff-interp-common.hh
@@ -223,7 +223,7 @@
if (is_fixed ())
return u.fixed_val;
else if (is_real ())
- return (int32_t)((double)u.real_val * 65536.0);
+ return (int32_t)(u.real_val * 65536.0f);
else
return (int32_t)(u.int_val << 16);
}
@@ -233,7 +233,7 @@
if (is_real ())
return u.real_val;
if (is_fixed ())
- return (float)((double)u.fixed_val / 65536.0);
+ return u.fixed_val / 65536.0f;
else
return (float)u.int_val;
}