-
由 Max Bruckner 提交于
This fixes compiler warnings that clang produces with the -Wdouble-promotion compiler option. This only happens if double precision floating point numbers are enabled. The implicit double promotion occurs because numbers of type UNITY_FLOAT are passed into UnityPrintFloat, which expects const UNITY_DOUBLE. This commit fixes it by explicitly casting to UNITY_DOUBLE.
1bf22d39