diff options
author | Max Bruckner <max@maxbruckner.de> | 2017-03-01 09:12:09 +0100 |
---|---|---|
committer | Max Bruckner <max@maxbruckner.de> | 2017-03-01 11:57:07 +0100 |
commit | 1e0bd24f2cae585a198e6661def3f9b82e81cf5a (patch) | |
tree | 67daeb168d506e3ecf847d563c9e9f4bbfb2920a | |
parent | 5cf56fa4fad0e656e3779e4589fb38a6f846c079 (diff) | |
download | cjson-1e0bd24f2cae585a198e6661def3f9b82e81cf5a.tar.gz cjson-1e0bd24f2cae585a198e6661def3f9b82e81cf5a.zip |
Revert "unity: make it work with -Wconversion"
This reverts commit 12acc57967aef0c859e2a0a877b7a1530faad068.
-rw-r--r-- | tests/unity/src/unity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unity/src/unity.c b/tests/unity/src/unity.c index ece0d9b..54a3452 100644 --- a/tests/unity/src/unity.c +++ b/tests/unity/src/unity.c @@ -194,7 +194,7 @@ void UnityPrintNumberHex(const UNITY_UINT number, const char nibbles_to_print) while (nibbles > 0) { nibbles--; - nibble = (int)(number >> (nibbles * 4)) & 0x0F; + nibble = (number >> (nibbles * 4)) & 0x0F; if (nibble <= 9) { UNITY_OUTPUT_CHAR((char)('0' + nibble)); |