mirror of
https://github.com/google/leveldb.git
synced 2025-04-25 14:00:27 +08:00
Merge 0602f490be
into ac691084fd
This commit is contained in:
commit
f77281e4b0
@ -208,7 +208,7 @@ class WindowsRandomAccessFile : public RandomAccessFile {
|
||||
Status Read(uint64_t offset, size_t n, Slice* result,
|
||||
char* scratch) const override {
|
||||
DWORD bytes_read = 0;
|
||||
OVERLAPPED overlapped = {0};
|
||||
OVERLAPPED overlapped = {};
|
||||
|
||||
overlapped.OffsetHigh = static_cast<DWORD>(offset >> 32);
|
||||
overlapped.Offset = static_cast<DWORD>(offset);
|
||||
|
Loading…
Reference in New Issue
Block a user