further tweaks to negative printing

This commit is contained in:
Mark VanderVoord
2014-09-02 20:24:11 -04:00
parent f48005148f
commit b5fd6005c2
+1 -1
View File
@@ -131,7 +131,7 @@ void UnityPrintNumber(const _U_SINT number_to_print)
{
//The largest representable negative number
UNITY_OUTPUT_CHAR('-');
number = (_U_UINT)number_to_print;
number = (1ul << (UNITY_LONG_WIDTH-1));
}
else if (number_to_print < 0)
{