ICU-6354 Fix C testcase so build passes

X-SVN-Rev: 25367
This commit is contained in:
Jason Spieth 2009-02-03 18:43:45 +00:00
parent b20030b5ac
commit d2624b1aef

View File

@ -439,7 +439,7 @@ void IntlTestDecimalFormatAPI::testRoundingInc(/*char *par*/)
// set rounding mode with zero increment. Rounding
// increment should be set by this operation
pat.setRoundingMode(DecimalFormat.kRoundUp);
pat.setRoundingMode((DecimalFormat::ERoundingMode)0);
roundingInc = pat.getRoundingIncrement();
if (roundingInc == 0.0) {
errln((UnicodeString)"ERROR: Rounding increment zero");