ICU-3100 fix failure on cygwin ... just add a cast to UnicodeString constructor

X-SVN-Rev: 15696
This commit is contained in:
Ram Viswanadha 2004-06-03 22:50:39 +00:00
parent 6215c57675
commit e094aa0975

View File

@ -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");