ICU-7724 Explicitly cast enum value to avoid compilation error on Solaris.

X-SVN-Rev: 28508
This commit is contained in:
Michael Ow 2010-08-21 02:16:23 +00:00
parent 000d3bbf9d
commit e7b5ff3734

View File

@ -435,7 +435,7 @@ DecimalFormatSymbols::setSymbol(ENumberFormatSymbol symbol, const UnicodeString
if ( u_charDigitValue(sym) == 0 ) {
for ( int8_t i = 1 ; i<= 9 ; i++ ) {
sym++;
fSymbols[kOneDigitSymbol+i-1] = UnicodeString(sym);
fSymbols[(int)kOneDigitSymbol+i-1] = UnicodeString(sym);
}
}
}