mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-30 22:47:16 +08:00
mdbx-test: fix win32 build (minor warnings).
Change-Id: Ibe66ddcad98f21fd8dc508ea6bd43d4568266972
This commit is contained in:
parent
3ec081c187
commit
e08787afca
@ -168,8 +168,8 @@ int main(int argc, char *const argv[]) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (config::parse_option(argc, argv, narg, "pagesize", params.pagesize,
|
if (config::parse_option(argc, argv, narg, "pagesize", params.pagesize,
|
||||||
mdbx_limits_pgsize_min(),
|
int(mdbx_limits_pgsize_min()),
|
||||||
mdbx_limits_pgsize_max())) {
|
int(mdbx_limits_pgsize_max()))) {
|
||||||
const unsigned keylen_max = params.mdbx_keylen_max();
|
const unsigned keylen_max = params.mdbx_keylen_max();
|
||||||
if (params.keylen_min > keylen_max)
|
if (params.keylen_min > keylen_max)
|
||||||
params.keylen_min = keylen_max;
|
params.keylen_min = keylen_max;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user