提交 b5fd6005 编写于 作者: M Mark VanderVoord

further tweaks to negative printing

上级 f4800514
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册