mdbx: use PRIuPTR/PRIiPTR/PRIxPTR instead of %z.

This commit is contained in:
Leo Yuriev
2017-05-10 19:16:14 +03:00
parent 8848df34bc
commit 29f01cf3f4
8 changed files with 260 additions and 215 deletions

View File

@@ -85,7 +85,8 @@ void osal_setup(const std::vector<actor_config> &actors) {
rc = pthread_cond_init(event, &condattr);
if (rc)
failure_perror("pthread_cond_init(shared)", rc);
log_trace("osal_setup: event(shared pthread_cond) %zu -> %p", i, event);
log_trace("osal_setup: event(shared pthread_cond) %" PRIuPTR " -> %p", i,
event);
}
shared->conds_size = actors.size() + 1;