diff options
| author | bunnei <bunneidev@gmail.com> | 2018-02-14 10:07:03 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-14 10:07:03 -0500 |
| commit | d939792b9b7b81953b7ddc7df1a86a9e9e3c9add (patch) | |
| tree | 99b757106b78913075fd954d6c85d296aa3c9c57 /src/core/hle/service/nvdrv/devices/nvmap.cpp | |
| parent | f1b82634bc46792b35377f4d3f882e56a1ac84a2 (diff) | |
| parent | fe0775d2f4c337b1a3b6c3385306fbd11fe22bc3 (diff) | |
Merge pull request #191 from lioncash/log
core: Silence formatting specifier warnings
Diffstat (limited to 'src/core/hle/service/nvdrv/devices/nvmap.cpp')
| -rw-r--r-- | src/core/hle/service/nvdrv/devices/nvmap.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvmap.cpp b/src/core/hle/service/nvdrv/devices/nvmap.cpp index 02b33374a..cd8c0c605 100644 --- a/src/core/hle/service/nvdrv/devices/nvmap.cpp +++ b/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(), ¶ms, sizeof(params)); return 0; |
