From df61b683e93fa2a9a5fc2d4937984307799a7a2d Mon Sep 17 00:00:00 2001 From: Nicky Date: Thu, 26 Mar 2015 21:48:13 +0100 Subject: [PATCH] Linux build fix. --- indra/llcommon/lluriparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llcommon/lluriparser.cpp b/indra/llcommon/lluriparser.cpp index 8992355e13..bd2bb75394 100644 --- a/indra/llcommon/lluriparser.cpp +++ b/indra/llcommon/lluriparser.cpp @@ -131,7 +131,7 @@ void LLUriParser::textRangeToString(UriTextRangeA& textRange, std::string& str) const ptrdiff_t len = textRange.afterLast - textRange.first; if (len) { - str.assign(textRange.first, uintptr_t(len)); + str.assign(textRange.first, std::string::size_type(len)); return; } }