mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
Revert "unity: make it work with -Wconversion"
This reverts commit 12acc57967
.
This commit is contained in:
parent
5cf56fa4fa
commit
1e0bd24f2c
@ -194,7 +194,7 @@ void UnityPrintNumberHex(const UNITY_UINT number, const char nibbles_to_print)
|
|||||||
while (nibbles > 0)
|
while (nibbles > 0)
|
||||||
{
|
{
|
||||||
nibbles--;
|
nibbles--;
|
||||||
nibble = (int)(number >> (nibbles * 4)) & 0x0F;
|
nibble = (number >> (nibbles * 4)) & 0x0F;
|
||||||
if (nibble <= 9)
|
if (nibble <= 9)
|
||||||
{
|
{
|
||||||
UNITY_OUTPUT_CHAR((char)('0' + nibble));
|
UNITY_OUTPUT_CHAR((char)('0' + nibble));
|
||||||
|
Loading…
Reference in New Issue
Block a user