Commit c6f528e5 authored by Dair Grant's avatar Dair Grant

Fix "comparison of unsigned expression >= 0 is always true" warning from clang.

parent 770a7c43
...@@ -191,7 +191,7 @@ HRESULT CDataStream::SeekDirect(size_t pos) ...@@ -191,7 +191,7 @@ HRESULT CDataStream::SeekDirect(size_t pos)
// seeking is allowed anywhere between 0 and stream size // seeking is allowed anywhere between 0 and stream size
if ((pos >= 0) && (pos <= currentSize)) if (pos <= currentSize)
{ {
_pos = pos; _pos = pos;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment