diff --git a/src/binstr.cpp b/src/binstr.cpp index f3fb3d7..b262298 100644 --- a/src/binstr.cpp +++ b/src/binstr.cpp @@ -45,7 +45,7 @@ void binsbase::seek(long p, Offset offs) } // Seek after end of data - if(spos - data >= length) { + if(spos - data > length) { err |= Eof; spos = data + length; }