summaryrefslogtreecommitdiff
path: root/indra/llui/tests
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui/tests')
-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 e7af64187c..89a80f1e73 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 = (const wchar_t *)(wtext.c_str());
+ const wchar_t *wctext = wtext.c_str();
bool found = boost::regex_search(wctext, result, regex);
if (found)
{