mdbx-tools: fix txnid_t casting inside mdbx_stat.

Change-Id: I69799d8caca3e6692a433b2e62e7b2867b152b00
This commit is contained in:
Leo Yuriev 2020-04-04 15:17:03 +03:00
parent 8f5ae79b51
commit d329ea1fe0

View File

@ -294,7 +294,7 @@ int main(int argc, char *argv[]) {
const pgno_t number = *iptr++;
pages += number;
if (envinfo && mei.mi_latter_reader_txnid > *(size_t *)key.iov_base)
if (envinfo && mei.mi_latter_reader_txnid > *(txnid_t *)key.iov_base)
reclaimable += number;
if (freinfo > 1) {