ICU-12571 Remove bad cast from RBBI test.

X-SVN-Rev: 38812
This commit is contained in:
Andy Heninger 2016-06-08 20:20:19 +00:00
parent f8aea69ce6
commit 8124f1059a

View file

@ -990,7 +990,7 @@ void RBBITest::executeTest(TestParams *t, UErrorCode &status) {
expectedTagVal = 0;
}
int32_t line = t->getSrcLine(bp);
int32_t rs = ((RuleBasedBreakIterator *)t->bi)->getRuleStatus();
int32_t rs = t->bi->getRuleStatus();
if (rs != expectedTagVal) {
errln("Incorrect status for forward break. Pos=%4d File line,col= %4d,%4d.\n"
" Actual, Expected status = %4d, %4d",