From 74258359f22d74c0220d6b75cafb5a796f355bea Mon Sep 17 00:00:00 2001 From: Eric Mader Date: Tue, 27 May 2008 00:21:36 +0000 Subject: [PATCH] ICU-6011 Remove sizeof sizeof(xxx) X-SVN-Rev: 23985 --- icu4c/source/layout/ScriptAndLanguage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/layout/ScriptAndLanguage.cpp b/icu4c/source/layout/ScriptAndLanguage.cpp index 9df7f4ff55..126f5f2f07 100644 --- a/icu4c/source/layout/ScriptAndLanguage.cpp +++ b/icu4c/source/layout/ScriptAndLanguage.cpp @@ -47,7 +47,7 @@ const ScriptTable *ScriptListTable::findScript(LETag scriptTag) const * to be unsorted. */ le_uint16 count = SWAPW(scriptCount); - le_uint16 limit = ((SWAPW(scriptRecordArray[0].offset) - sizeof(ScriptListTable)) / sizeof sizeof(scriptRecordArray)) + ANY_NUMBER; + le_uint16 limit = ((SWAPW(scriptRecordArray[0].offset) - sizeof(ScriptListTable)) / sizeof(scriptRecordArray)) + ANY_NUMBER; Offset scriptTableOffset = 0; if (count > limit) {