From dde75d76210c9e4df0516b89f8f199fe081a5e87 Mon Sep 17 00:00:00 2001 From: Rider Linden <rider@lindenlab.com> Date: Fri, 5 Jun 2015 16:11:27 -0700 Subject: [PATCH] Mac builds are very picking about testing an unsigned for < 0 --- indra/llcorehttp/_httpoprequest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llcorehttp/_httpoprequest.cpp b/indra/llcorehttp/_httpoprequest.cpp index 3a51f898ab6..503c04dfa7d 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; -- GitLab