From a00f98f20e3096bb53dec6fea6b3e414f3ae816f Mon Sep 17 00:00:00 2001 From: Michael Ow Date: Thu, 11 Aug 2011 18:45:09 +0000 Subject: [PATCH] ICU-8310 Fix missing parenthesis X-SVN-Rev: 30485 --- icu4c/source/layout/ExtensionSubtables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/layout/ExtensionSubtables.cpp b/icu4c/source/layout/ExtensionSubtables.cpp index 5da918daa3e..813caeb3708 100644 --- a/icu4c/source/layout/ExtensionSubtables.cpp +++ b/icu4c/source/layout/ExtensionSubtables.cpp @@ -19,7 +19,7 @@ U_NAMESPACE_BEGIN static inline le_uint32 READ_LONG(le_uint32 code) { le_uint16* first = ((le_uint16*)&code); le_uint16* second = (((le_uint16*)&code) + 1); - return (le_uint32)(SWAPW(*first << 16) + SWAPW(*second)); + return (le_uint32)((SWAPW(*first) << 16) + SWAPW(*second)); } // FIXME: should look at the format too... maybe have a sub-class for it? -- 2.50.1