Fix Windows compile fail

This commit is contained in:
Jack Andersen 2017-02-04 20:59:46 -10:00
parent dc474ad156
commit e86971c9e0
1 changed files with 3 additions and 1 deletions

View File

@ -150,8 +150,10 @@ public:
}
}
ReadStream(const SystemString& path, uint64_t offset, bool& err)
: ReadStream(path)
: ReadStream(path, err)
{
if (err)
return;
LARGE_INTEGER lioffset;
lioffset.QuadPart = offset;
SetFilePointerEx(fp, lioffset, nullptr, FILE_BEGIN);