mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-709 fix warnings (MSVC bug?) in test code
X-SVN-Rev: 3638
This commit is contained in:
parent
f203e26d36
commit
57e332c2ff
1 changed files with 3 additions and 3 deletions
|
@ -511,7 +511,7 @@ static void _expect(const UTransliterator* trans,
|
|||
InitXReplaceableCallbacks(&xrepVtable);
|
||||
InitXReplaceable(&xrep, cfrom);
|
||||
limit = u_strlen(from);
|
||||
utrans_trans(trans, &xrep, &xrepVtable, 0, &limit, &status);
|
||||
utrans_trans(trans, (UReplaceable*)&xrep, &xrepVtable, 0, &limit, &status);
|
||||
if (U_FAILURE(status)) {
|
||||
log_err("FAIL: utrans_trans() failed, error=%s\n",
|
||||
u_errorName(status));
|
||||
|
@ -534,8 +534,8 @@ static void _expect(const UTransliterator* trans,
|
|||
InitXReplaceable(&xrep, cfrom);
|
||||
pos.start = pos.contextStart = 0;
|
||||
pos.limit = pos.contextLimit = u_strlen(from);
|
||||
utrans_transIncremental(trans, &xrep, &xrepVtable, &pos, &status);
|
||||
utrans_trans(trans, &xrep, &xrepVtable, pos.start, &pos.limit, &status);
|
||||
utrans_transIncremental(trans, (UReplaceable*)&xrep, &xrepVtable, &pos, &status);
|
||||
utrans_trans(trans, (UReplaceable*)&xrep, &xrepVtable, pos.start, &pos.limit, &status);
|
||||
if (U_FAILURE(status)) {
|
||||
log_err("FAIL: utrans_transIncremental() failed, error=%s\n",
|
||||
u_errorName(status));
|
||||
|
|
Loading…
Add table
Reference in a new issue