Skip to content
Snippets Groups Projects
Commit 6a15d2d9 authored by callum_linden's avatar callum_linden
Browse files

Update to build on Xcode 6.0: clang detecting unsigned int (size_t) comparison...

Update to build on Xcode 6.0: clang detecting unsigned int (size_t) comparison with <0 [-Wtautological-compare]
parent bc49197e
No related branches found
No related tags found
No related merge requests found
......@@ -257,8 +257,6 @@ std::streampos BufferArrayStreamBuf::seekoff(std::streamoff off,
return ret;
}
if (pos < 0)
return ret;
if (pos > mBufferArray->size())
{
pos = mBufferArray->size();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment