mdbx-test: fix win32 build (minor warnings).

Change-Id: Ibe66ddcad98f21fd8dc508ea6bd43d4568266972
This commit is contained in:
Leonid Yuriev 2019-09-10 13:41:37 +03:00
parent 3ec081c187
commit e08787afca

View File

@ -168,8 +168,8 @@ int main(int argc, char *const argv[]) {
}
if (config::parse_option(argc, argv, narg, "pagesize", params.pagesize,
mdbx_limits_pgsize_min(),
mdbx_limits_pgsize_max())) {
int(mdbx_limits_pgsize_min()),
int(mdbx_limits_pgsize_max()))) {
const unsigned keylen_max = params.mdbx_keylen_max();
if (params.keylen_min > keylen_max)
params.keylen_min = keylen_max;