diff --git a/src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp b/src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp index 5e59e29ac1..f4bb96fa2e 100644 --- a/src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp +++ b/src/add-ons/kernel/bus_managers/acpi/ACPICAHaiku.cpp @@ -475,8 +475,8 @@ AcpiOsMapMemory(ACPI_PHYSICAL_ADDRESS where, ACPI_SIZE length) DEBUG_FUNCTION_F("addr: 0x%08lx; length: %lu; mapped: %p; area: %ld", (addr_t)where, (size_t)length, there, area); if (area < 0) { - dprintf("ACPI: cannot map memory at 0x%" B_PRIuADDR ", length %" - B_PRIuSIZE "\n", where, length); + dprintf("ACPI: cannot map memory at 0x%" B_PRIu64 ", length %" + B_PRIu64 "\n", (uint64)where, (uint64)length); return NULL; } return there;