https://bugs.openldap.org/show_bug.cgi?id=9017
--- Comment #21 from Howard Chu hyc@openldap.org --- (In reply to kriszyp@gmail.com from comment #20)
You ought to be able to use int64_t instead, or any other explicitly 64-bit signed integer type.
Yes, that (#define MDB_OFF_T int64_t) compiles and works fine in all my tests (including with >2GB dbs). I assume you can commit/fix this (or do we want me to make a patch)? Thanks, Kris
Committed with int64_t. Thanks for testing/verifying.