From e06aa48bcaa89d1a611d52574748ba5bf98166d9 Mon Sep 17 00:00:00 2001 From: mvandervoord Date: Thu, 3 Mar 2011 12:15:11 +0000 Subject: [PATCH] - fixed minor bug which was causing warnings on some compilers git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@121 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e --- src/unity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unity.c b/src/unity.c index 2316a64..b3d4ea5 100644 --- a/src/unity.c +++ b/src/unity.c @@ -77,7 +77,7 @@ void UnityPrintNumberByStyle(const _U_SINT number, const UNITY_DISPLAY_STYLE_T s } else if ((style & UNITY_DISPLAY_RANGE_UINT) == UNITY_DISPLAY_RANGE_UINT) { - UnityPrintNumberUnsigned(((_U_UINT)number & ((_U_UINT)1 << (((int)style & 0x000F) << 3)) - 1)); + UnityPrintNumberUnsigned((_U_UINT)number & ((_U_UINT)1 << ((((int)style & 0x000F) << 3) - 1))); } else {