Explorar o código

nvmap: Silence formatting specifier warnings

Lioncash %!s(int64=8) %!d(string=hai) anos
pai
achega
ee170cbcea
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/core/hle/service/nvdrv/devices/nvmap.cpp

+ 2 - 1
src/core/hle/service/nvdrv/devices/nvmap.cpp

@@ -3,6 +3,7 @@
 // Refer to the license.txt file included.
 
 #include <algorithm>
+#include <cinttypes>
 
 #include "common/assert.h"
 #include "common/logging/log.h"
@@ -71,7 +72,7 @@ u32 nvmap::IocAlloc(const std::vector<u8>& input, std::vector<u8>& output) {
     object->addr = params.addr;
     object->status = Object::Status::Allocated;
 
-    LOG_DEBUG(Service_NVDRV, "called, addr=0x%llx", params.addr);
+    LOG_DEBUG(Service_NVDRV, "called, addr=0x%" PRIx64, params.addr);
 
     std::memcpy(output.data(), &params, sizeof(params));
     return 0;