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:
Yves Arrouye 2000-06-09 18:38:02 +00:00
parent 8f3a4a54aa
commit 2d6d22a2a4

View File

@ -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;
}