提交 e3c86b65 编写于 作者: A Alexander Mueller

Fixes compiler warning about comparison of signed/unsigned

上级 7ff000f2
......@@ -118,7 +118,7 @@ void UnityPrintLen(const char* string, const _UU32 length)
if (pch != NULL)
{
while (*pch && (pch - string) < length)
while (*pch && (_UU32)(pch - string) < length)
{
// printable characters plus CR & LF are printed
if ((*pch <= 126) && (*pch >= 32))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册