mirror of https://github.com/AxioDL/nod.git
Fix Windows compile fail
This commit is contained in:
parent
dc474ad156
commit
e86971c9e0
|
@ -150,8 +150,10 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ReadStream(const SystemString& path, uint64_t offset, bool& err)
|
ReadStream(const SystemString& path, uint64_t offset, bool& err)
|
||||||
: ReadStream(path)
|
: ReadStream(path, err)
|
||||||
{
|
{
|
||||||
|
if (err)
|
||||||
|
return;
|
||||||
LARGE_INTEGER lioffset;
|
LARGE_INTEGER lioffset;
|
||||||
lioffset.QuadPart = offset;
|
lioffset.QuadPart = offset;
|
||||||
SetFilePointerEx(fp, lioffset, nullptr, FILE_BEGIN);
|
SetFilePointerEx(fp, lioffset, nullptr, FILE_BEGIN);
|
||||||
|
|
Loading…
Reference in New Issue