mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-25 18:57:58 +08:00
Merge pull request #128 from XelaRellum/fix_for_compiler_warning_signed_unsigned
Fixes compiler warning about comparison of signed/unsigned
This commit is contained in:
@ -118,7 +118,7 @@ void UnityPrintLen(const char* string, const _UU32 length)
|
|||||||
|
|
||||||
if (pch != NULL)
|
if (pch != NULL)
|
||||||
{
|
{
|
||||||
while (*pch && (pch - string) < length)
|
while (*pch && (_UU32)(pch - string) < length)
|
||||||
{
|
{
|
||||||
// printable characters plus CR & LF are printed
|
// printable characters plus CR & LF are printed
|
||||||
if ((*pch <= 126) && (*pch >= 32))
|
if ((*pch <= 126) && (*pch >= 32))
|
||||||
|
Reference in New Issue
Block a user