]> granicus.if.org Git - icu/commitdiff
ICU-8812 fixed typo from previous commit.
authorAbhinav Gupta <mail@abhinavg.net>
Tue, 13 Sep 2011 21:12:01 +0000 (21:12 +0000)
committerAbhinav Gupta <mail@abhinavg.net>
Tue, 13 Sep 2011 21:12:01 +0000 (21:12 +0000)
X-SVN-Rev: 30651

icu4c/source/test/intltest/numfmtst.cpp

index 55d0d3ac0b409ed443e27250a1bf4cc43face74a..09f53589e41bb307c364bf54e0c2b0a2e0270a01 100644 (file)
@@ -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;