diff options
Diffstat (limited to 'common/file.cpp')
-rw-r--r-- | common/file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/file.cpp b/common/file.cpp index 9cf554646c..6320838e0b 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -221,7 +221,7 @@ int32 DumpFile::pos() const { return _handle->pos(); } bool DumpFile::seek(int32 offset, int whence) { SeekableWriteStream *ws = dynamic_cast<SeekableWriteStream *>(_handle); - return ws ? ws->seek(offset, whence) : -1; + return ws ? ws->seek(offset, whence) : false; } int32 DumpFile::size() const { |