mdbx: fix minor MinGW warning.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2022-09-13 11:39:55 +03:00
parent c4efa8dce8
commit a089f73002
2 changed files with 2 additions and 1 deletions

View File

@ -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.
-------------------------------------------------------------------------------

View File

@ -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;