mirror of
https://github.com/AxioDL/nod.git
synced 2025-07-13 00:25:55 +00:00
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…
x
Reference in New Issue
Block a user