summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2015-06-05 16:11:27 -0700
committerRider Linden <rider@lindenlab.com>2015-06-05 16:11:27 -0700
commitdde75d76210c9e4df0516b89f8f199fe081a5e87 (patch)
tree3dd7294750e93d00fcb156325422bd5f945a0bb5
parentdaf4d167b66c6124b96dee585b43060e2ea06b42 (diff)
Mac builds are very picking about testing an unsigned for < 0
-rwxr-xr-xindra/llcorehttp/_httpoprequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcorehttp/_httpoprequest.cpp b/indra/llcorehttp/_httpoprequest.cpp
index 3a51f898ab..503c04dfa7 100755
--- a/indra/llcorehttp/_httpoprequest.cpp
+++ b/indra/llcorehttp/_httpoprequest.cpp
@@ -843,7 +843,7 @@ int HttpOpRequest::seekCallback(void *userdata, curl_off_t offset, int origin)
else
return 2;
- if ((newPos < 0) || (newPos >= op->mReqBody->size()))
+ if (newPos >= op->mReqBody->size())
{
LL_WARNS(LOG_CORE) << "Attempt to seek to position outside post body." << LL_ENDL;
return 2;