mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 12:40:02 +00:00
ICU-1855 Fixed a warning resulting from the latest changes
X-SVN-Rev: 10113
This commit is contained in:
parent
c3163234f6
commit
f0f13be7b7
1 changed files with 2 additions and 2 deletions
|
@ -1773,7 +1773,7 @@ static void TestCEValidity()
|
|||
rulesCopy = (UChar *)malloc((ruleLen +
|
||||
UCOL_TOK_EXTRA_RULE_SPACE_SIZE) * sizeof(UChar));
|
||||
uprv_memcpy(rulesCopy, rules, ruleLen * sizeof(UChar));
|
||||
src.source = src.current = rulesCopy;
|
||||
src.current = src.source = rulesCopy;
|
||||
src.end = rulesCopy + ruleLen;
|
||||
src.extraCurrent = src.end;
|
||||
src.extraEnd = src.end + UCOL_TOK_EXTRA_RULE_SPACE_SIZE;
|
||||
|
@ -1953,7 +1953,7 @@ static void TestSortKeyValidity(void)
|
|||
rulesCopy = (UChar *)malloc((ruleLen +
|
||||
UCOL_TOK_EXTRA_RULE_SPACE_SIZE) * sizeof(UChar));
|
||||
uprv_memcpy(rulesCopy, rules, ruleLen * sizeof(UChar));
|
||||
src.source = src.current = rulesCopy;
|
||||
src.current = src.source = rulesCopy;
|
||||
src.end = rulesCopy + ruleLen;
|
||||
src.extraCurrent = src.end;
|
||||
src.extraEnd = src.end + UCOL_TOK_EXTRA_RULE_SPACE_SIZE;
|
||||
|
|
Loading…
Add table
Reference in a new issue