diff options
author | fanquake <fanquake@gmail.com> | 2022-09-29 16:43:30 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-09-29 16:43:30 +0100 |
commit | 13601da17e7af08133861a86c295356c173b5bf5 (patch) | |
tree | 585be59b2f75d7b12f5128edc33bc85986cad6b6 /src/leveldb | |
parent | 291e363ce500e492475c4ccd189ea1d031c43613 (diff) | |
parent | 1a463c70a368fb20316e03efac273438cf47baa3 (diff) |
Update leveldb-subtree subtree to latest upstream
Diffstat (limited to 'src/leveldb')
-rw-r--r-- | src/leveldb/util/env_windows.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leveldb/util/env_windows.cc b/src/leveldb/util/env_windows.cc index 4dcba222a1..aafcdcc3be 100644 --- a/src/leveldb/util/env_windows.cc +++ b/src/leveldb/util/env_windows.cc @@ -194,7 +194,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); |