ICU-3100 fix failure on cygwin ... just add a cast to UnicodeString constructor
X-SVN-Rev: 15696
This commit is contained in:
parent
6215c57675
commit
e094aa0975
@ -2124,7 +2124,7 @@ void CollationAPITest::TestNULLCharTailoring()
|
||||
UChar buf[256] = {0};
|
||||
int32_t len = u_unescape("&a < '\\u0000'", buf, 256);
|
||||
UnicodeString first((UChar)0x0061);
|
||||
UnicodeString second(UChar)0);
|
||||
UnicodeString second((UChar)0);
|
||||
RuleBasedCollator *coll = new RuleBasedCollator(UnicodeString(buf, len), status);
|
||||
if(U_FAILURE(status)) {
|
||||
errln("Failed to open collator");
|
||||
|
Loading…
Reference in New Issue
Block a user