ICU-7724 Explicitly cast enum value to avoid compilation error on Solaris.
X-SVN-Rev: 28508
This commit is contained in:
parent
000d3bbf9d
commit
e7b5ff3734
@ -435,7 +435,7 @@ DecimalFormatSymbols::setSymbol(ENumberFormatSymbol symbol, const UnicodeString
|
|||||||
if ( u_charDigitValue(sym) == 0 ) {
|
if ( u_charDigitValue(sym) == 0 ) {
|
||||||
for ( int8_t i = 1 ; i<= 9 ; i++ ) {
|
for ( int8_t i = 1 ; i<= 9 ; i++ ) {
|
||||||
sym++;
|
sym++;
|
||||||
fSymbols[kOneDigitSymbol+i-1] = UnicodeString(sym);
|
fSymbols[(int)kOneDigitSymbol+i-1] = UnicodeString(sym);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user