mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-29 23:19:20 +08:00
mdbx: fix minor MinGW warning.
This commit is contained in:
parent
c4efa8dce8
commit
a089f73002
@ -17,6 +17,7 @@ Minors:
|
||||
- Fixed an extra ensure/assertion check of `oldest_reader` inside `txn_end()`.
|
||||
- Removed description of deprecated usage of `MDBX_NODUPDATA`.
|
||||
- Fixed regression ASAN/Valgring-enabled builds.
|
||||
- Fixed minor MingGW warning.
|
||||
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
@ -5244,7 +5244,7 @@ static txnid_t find_oldest_reader(MDBX_env *const env, const txnid_t steady) {
|
||||
new_oldest = steady;
|
||||
|
||||
for (unsigned i = 0; i < snap_nreaders; ++i) {
|
||||
const mdbx_pid_t pid =
|
||||
const uint32_t pid =
|
||||
atomic_load32(&lck->mti_readers[i].mr_pid, mo_AcquireRelease);
|
||||
if (!pid)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user