mdbx: last fix 32-to-64 warnings from Apple's CLANG 13.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2022-05-24 12:34:19 +03:00
parent 5d2eb580fd
commit f91dbc6864

View File

@ -83,12 +83,12 @@ void configure_actor(unsigned &last_space_id, const actor_testcase testcase,
if (space_id > ACTOR_ID_MAX) if (space_id > ACTOR_ID_MAX)
failure("Invalid space-id %lu\n", space_id); failure("Invalid space-id %lu\n", space_id);
last_space_id = space_id; last_space_id = unsigned(space_id);
log_trace("configure_actor: space %lu for %s", space_id, log_trace("configure_actor: space %lu for %s", space_id,
testcase2str(testcase)); testcase2str(testcase));
global::actors.emplace_back( global::actors.emplace_back(
actor_config(testcase, params, space_id, wait4id)); actor_config(testcase, params, unsigned(space_id), wait4id));
global::databases.insert(params.pathname_db); global::databases.insert(params.pathname_db);
} }