mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue