From 8f0625548ffe8fa26393b5e8d236ea6136dced3f Mon Sep 17 00:00:00 2001 From: Adam Moss Date: Tue, 22 Sep 2009 21:43:00 +0000 Subject: a stab at fixing this test. --- indra/llui/tests/llurlentry_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/llui') diff --git a/indra/llui/tests/llurlentry_test.cpp b/indra/llui/tests/llurlentry_test.cpp index 89a80f1e73..e7af64187c 100644 --- a/indra/llui/tests/llurlentry_test.cpp +++ b/indra/llui/tests/llurlentry_test.cpp @@ -50,7 +50,7 @@ namespace tut std::string url = ""; boost::wcmatch result; LLWString wtext = utf8str_to_wstring(text); - const wchar_t *wctext = wtext.c_str(); + const wchar_t *wctext = (const wchar_t *)(wtext.c_str()); bool found = boost::regex_search(wctext, result, regex); if (found) { -- cgit v1.2.3