Use correct format for printf
Change the printf format from '%d' to '%u', matching the type of the arguments.
This commit is contained in:
parent
f9d53419e9
commit
6089180ecb
@ -2285,7 +2285,7 @@ TEST(SchemaValidator, TestSuite) {
|
|||||||
MemoryPoolAllocator<>::Free(json);
|
MemoryPoolAllocator<>::Free(json);
|
||||||
jsonAllocator.Clear();
|
jsonAllocator.Clear();
|
||||||
}
|
}
|
||||||
printf("%d / %d passed (%2d%%)\n", passCount, testCount, passCount * 100 / testCount);
|
printf("%u / %u passed (%2u%%)\n", passCount, testCount, passCount * 100 / testCount);
|
||||||
if (passCount != testCount)
|
if (passCount != testCount)
|
||||||
ADD_FAILURE();
|
ADD_FAILURE();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user