aboutsummaryrefslogtreecommitdiff
path: root/tests/unity/src/unity.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unity/src/unity.c')
-rw-r--r--tests/unity/src/unity.c2
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));