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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user