From 707069804b219df017b4d8fbc4ed1aa4789fb65f Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Tue, 13 Sep 2011 21:12:01 +0000 Subject: [PATCH] ICU-8812 fixed typo from previous commit. X-SVN-Rev: 30651 --- icu4c/source/test/intltest/numfmtst.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/test/intltest/numfmtst.cpp b/icu4c/source/test/intltest/numfmtst.cpp index 55d0d3ac0b4..09f53589e41 100644 --- a/icu4c/source/test/intltest/numfmtst.cpp +++ b/icu4c/source/test/intltest/numfmtst.cpp @@ -1931,7 +1931,7 @@ void NumberFormatTest::TestSymbolsWithBadLocale(void) { }; int i; - for (i = 0; i < sizeof(badLocales); i++) { + for (i = 0; i < sizeof(badLocales) / sizeof(char*); i++) { const char *localeName = badLocales[i]; Locale locBad(localeName); UErrorCode status = U_ZERO_ERROR; -- 2.40.0