ICU-353 Cast UNUM_FORMAT_SYMBOL_COUNT and
DecimalFormatSymbols::kFormatSymbolCount to int to avoid warning about comparing different enums (one of the ANSI C features I dislike the most!) X-SVN-Rev: 1596
This commit is contained in:
parent
8f3a4a54aa
commit
2d6d22a2a4
@ -133,7 +133,7 @@ void IntlTestDecimalFormatSymbols::testSymbols(char *par)
|
||||
}
|
||||
|
||||
// test get/setSymbol()
|
||||
if(UNUM_FORMAT_SYMBOL_COUNT != DecimalFormatSymbols::kFormatSymbolCount) {
|
||||
if((int) UNUM_FORMAT_SYMBOL_COUNT != (int) DecimalFormatSymbols::kFormatSymbolCount) {
|
||||
errln("unum.h and decimfmt.h have inconsistent numbers of format symbols!");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user