From 8f0625548ffe8fa26393b5e8d236ea6136dced3f Mon Sep 17 00:00:00 2001
From: Adam Moss <moss@lindenlab.com>
Date: Tue, 22 Sep 2009 21:43:00 +0000
Subject: [PATCH] a stab at fixing this test.

---
 indra/llui/tests/llurlentry_test.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
 		{
-- 
GitLab