1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-23 08:25:58 +01:00

further tweaks to negative printing

This commit is contained in:
Mark VanderVoord
2014-09-02 20:24:11 -04:00
parent f48005148f
commit b5fd6005c2

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)
{