summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Moss <moss@lindenlab.com>2009-09-22 21:43:00 +0000
committerAdam Moss <moss@lindenlab.com>2009-09-22 21:43:00 +0000
commit8f0625548ffe8fa26393b5e8d236ea6136dced3f (patch)
treee6cec54c91adcb61e553930344991eb5a0e49031
parentb37a5d659e1ad591f60f17d3f9524f87d99f145e (diff)
a stab at fixing this test.
-rw-r--r--indra/llui/tests/llurlentry_test.cpp2
1 files changed, 1 insertions, 1 deletions
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)
{