a stab at fixing this test.

master
Adam Moss 2009-09-22 21:43:00 +00:00
parent b37a5d659e
commit 8f0625548f
1 changed files with 1 additions and 1 deletions

View File

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