Update to build on Xcode 6.0: clang detecting unsigned int (size_t) comparison with <0 [-Wtautological-compare]
parent
bc49197ea8
commit
6a15d2d95d
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue