size_t this...

meow-7.2.2
Ansariel 2015-08-22 20:37:43 +02:00
parent 567c1b4741
commit 4a7ebe3708
1 changed files with 4 additions and 1 deletions

View File

@ -1552,7 +1552,10 @@ LLUrlEntryEmail::LLUrlEntryEmail()
std::string LLUrlEntryEmail::getLabel(const std::string &url, const LLUrlLabelCallback &cb)
{
int pos = url.find("mailto:");
// <FS:Ansariel> Fix type
//int pos = url.find("mailto:");
size_t pos = url.find("mailto:");
// </FS:Ansariel>
if (pos == std::string::npos)
{