diff options
| author | 2018-02-14 00:49:35 -0500 | |
|---|---|---|
| committer | 2018-02-14 01:52:55 -0500 | |
| commit | ee170cbcead1aa19ca88a4884f2df13324874adf (patch) | |
| tree | adfd905d46573e7c14989722495b9bf4afd98479 /src | |
| parent | nvhost_gpu: Silence formatting specifier warnings (diff) | |
| download | yuzu-ee170cbcead1aa19ca88a4884f2df13324874adf.tar.gz yuzu-ee170cbcead1aa19ca88a4884f2df13324874adf.tar.xz yuzu-ee170cbcead1aa19ca88a4884f2df13324874adf.zip | |
nvmap: Silence formatting specifier warnings
Diffstat (limited to 'src')
| -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 @@ | |||
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <algorithm> | 5 | #include <algorithm> |
| 6 | #include <cinttypes> | ||
| 6 | 7 | ||
| 7 | #include "common/assert.h" | 8 | #include "common/assert.h" |
| 8 | #include "common/logging/log.h" | 9 | #include "common/logging/log.h" |
| @@ -71,7 +72,7 @@ u32 nvmap::IocAlloc(const std::vector<u8>& input, std::vector<u8>& output) { | |||
| 71 | object->addr = params.addr; | 72 | object->addr = params.addr; |
| 72 | object->status = Object::Status::Allocated; | 73 | object->status = Object::Status::Allocated; |
| 73 | 74 | ||
| 74 | LOG_DEBUG(Service_NVDRV, "called, addr=0x%llx", params.addr); | 75 | LOG_DEBUG(Service_NVDRV, "called, addr=0x%" PRIx64, params.addr); |
| 75 | 76 | ||
| 76 | std::memcpy(output.data(), ¶ms, sizeof(params)); | 77 | std::memcpy(output.data(), ¶ms, sizeof(params)); |
| 77 | return 0; | 78 | return 0; |