mdbx-windows: уточнение проверок макросов MinGW и устранение предупреждений.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2022-11-08 19:44:42 +03:00
parent 2558903081
commit c270306580
6 changed files with 12 additions and 8 deletions

View File

@@ -363,11 +363,11 @@ actor_status osal_actor_info(const mdbx_pid_t pid) {
case /* STATUS_ASSERTION_FAILURE */ 0xC0000420L:
case /* STATUS_HEAP_CORRUPTION */ 0xC0000374L:
case /* STATUS_CONTROL_STACK_VIOLATION */ 0xC00001B2L:
log_error("pid %u, exception 0x%x", pid, ExitCode);
log_error("pid %zu, exception 0x%x", (intptr_t)pid, (unsigned)ExitCode);
status = as_coredump;
break;
default:
log_error("pid %u, exit code %u", pid, ExitCode);
log_error("pid %zu, exit code %u", (intptr_t)pid, (unsigned)ExitCode);
status = as_failed;
break;
}