ICU-535 Fixed some compiler warnings.
X-SVN-Rev: 3124
This commit is contained in:
parent
14ec3ee783
commit
d881a19435
@ -45,7 +45,7 @@ MessageFormatRegressionTest::runIndexedTest( int32_t index, UBool exec, const ch
|
|||||||
CASE(17,Test4120552)
|
CASE(17,Test4120552)
|
||||||
CASE(18,Test4142938)
|
CASE(18,Test4142938)
|
||||||
CASE(19,TestChoicePatternQuote)
|
CASE(19,TestChoicePatternQuote)
|
||||||
CASE(20,Test4112104);
|
CASE(20,Test4112104)
|
||||||
|
|
||||||
default: name = ""; break;
|
default: name = ""; break;
|
||||||
}
|
}
|
||||||
@ -311,7 +311,7 @@ void MessageFormatRegressionTest::Test4104976()
|
|||||||
UnicodeString("xyz"),
|
UnicodeString("xyz"),
|
||||||
UnicodeString("abc")
|
UnicodeString("abc")
|
||||||
};
|
};
|
||||||
int32_t formats_length = sizeof(formats)/sizeof(formats[0]);
|
int32_t formats_length = (int32_t)(sizeof(formats)/sizeof(formats[0]));
|
||||||
UErrorCode status = U_ZERO_ERROR;
|
UErrorCode status = U_ZERO_ERROR;
|
||||||
ChoiceFormat *cf = new ChoiceFormat(limits, formats, formats_length);
|
ChoiceFormat *cf = new ChoiceFormat(limits, formats, formats_length);
|
||||||
failure(status, "new ChoiceFormat");
|
failure(status, "new ChoiceFormat");
|
||||||
|
Loading…
Reference in New Issue
Block a user