3
0
Fork 0
forked from suyu/suyu

nvhost_ctrl: Silence formatting specifier warnings

This commit is contained in:
Lioncash 2018-02-14 00:44:26 -05:00
parent ce1fe0387f
commit 2d388a75f0
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -11,8 +11,8 @@ namespace Nvidia {
namespace Devices { namespace Devices {
u32 nvhost_ctrl::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output) { u32 nvhost_ctrl::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output) {
LOG_DEBUG(Service_NVDRV, "called, command=0x%08x, input_size=0x%lx, output_size=0x%lx", command, LOG_DEBUG(Service_NVDRV, "called, command=0x%08x, input_size=0x%zx, output_size=0x%zx",
input.size(), output.size()); command.raw, input.size(), output.size());
switch (static_cast<IoctlCommand>(command.raw)) { switch (static_cast<IoctlCommand>(command.raw)) {
case IoctlCommand::IocGetConfigCommand: case IoctlCommand::IocGetConfigCommand: