summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Muizelaar <jmuizelaar@mozilla.com>2011-03-29 22:53:33 -0400
committerJeff Muizelaar <jmuizelaar@mozilla.com>2011-03-29 22:53:33 -0400
commitfaddc4ccd9814b022af041d93189bc091450f402 (patch)
tree2a631d0fd33b6cf1fc69c5704c36c1f73dd0a3e5
parent4bad861322e754e6b8f0270d21920bb9d02e4495 (diff)
Avoid implicit conversion to double.
The double literal will cause us to unnecessarily convert to double.
-rw-r--r--qcmsint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qcmsint.h b/qcmsint.h
index 217b651..c34f099 100644
--- a/qcmsint.h
+++ b/qcmsint.h
@@ -143,7 +143,7 @@ struct _qcms_profile {
static inline float s15Fixed16Number_to_float(s15Fixed16Number a)
{
- return ((int32_t)a)/65536.;
+ return ((int32_t)a)/65536.f;
}
static inline s15Fixed16Number double_to_s15Fixed16Number(double v)