diff options
author | Rider Linden <rider@lindenlab.com> | 2015-06-05 16:11:27 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2015-06-05 16:11:27 -0700 |
commit | dde75d76210c9e4df0516b89f8f199fe081a5e87 (patch) | |
tree | 3dd7294750e93d00fcb156325422bd5f945a0bb5 | |
parent | daf4d167b66c6124b96dee585b43060e2ea06b42 (diff) |
Mac builds are very picking about testing an unsigned for < 0
-rwxr-xr-x | indra/llcorehttp/_httpoprequest.cpp | 2 |
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; |