$OpenBSD: patch-source_test_intltest_usettest_cpp,v 1.1 2009/01/27 22:11:15 landry Exp $ Fix for regression tests --- source/test/intltest/usettest.cpp.orig Sat Jan 24 16:44:37 2009 +++ source/test/intltest/usettest.cpp Sat Jan 24 16:35:13 2009 @@ -1641,7 +1641,7 @@ void UnicodeSetTest::TestSurrogate() { for (int i=0; DATA[i] != 0; ++i) { UErrorCode ec = U_ZERO_ERROR; logln((UnicodeString)"Test pattern " + i + " :" + UnicodeString(DATA[i], -1, US_INV)); - UnicodeSet set(UnicodeString(DATA[i], -1, US_INV), ec); + UnicodeSet set(UnicodeString((const char *)DATA[i], -1, US_INV), ec); if (U_FAILURE(ec)) { errln("FAIL: UnicodeSet constructor"); continue;