]> granicus.if.org Git - icu/commitdiff
ICU-10069 Attempt to fix broken build by doing int->int32_t.
authorTravis Keep <keep94@gmail.com>
Thu, 13 Jun 2013 20:21:29 +0000 (20:21 +0000)
committerTravis Keep <keep94@gmail.com>
Thu, 13 Jun 2013 20:21:29 +0000 (20:21 +0000)
X-SVN-Rev: 33827

icu4c/source/i18n/ucurr.cpp

index d8031ac87ce8eda443c5a2c56cc19d7567a0da49..a13ddc7bb0f9690816e912cf00fb334adc9dc1c8 100644 (file)
@@ -214,8 +214,8 @@ static void makeEquivalent(
 // countEquivalent counts how many strings are equivalent to s.
 // hash stores all the equivalnce relations.
 // countEquivalent does not include s itself in the count.
-static int countEquivalent(const icu::Hashtable &hash, const icu::UnicodeString &s) {
-    int result = 0;
+static int32_t countEquivalent(const icu::Hashtable &hash, const icu::UnicodeString &s) {
+    int32_t result = 0;
     EquivIterator iter(hash, s);
     while (iter.next() != NULL) {
         ++result;