core: clear format warnings
This commit is contained in:
@ -91,7 +91,7 @@ static void SetInputFormat(Interface* self) {
|
||||
cmd_buff[0] = IPC::MakeHeader(0x1, 1, 0);
|
||||
cmd_buff[1] = RESULT_SUCCESS.raw;
|
||||
|
||||
LOG_DEBUG(Service_Y2R, "called input_format=%hhu", conversion.input_format);
|
||||
LOG_DEBUG(Service_Y2R, "called input_format=%hhu", static_cast<u8>(conversion.input_format));
|
||||
}
|
||||
|
||||
static void GetInputFormat(Interface* self) {
|
||||
@ -101,7 +101,7 @@ static void GetInputFormat(Interface* self) {
|
||||
cmd_buff[1] = RESULT_SUCCESS.raw;
|
||||
cmd_buff[2] = static_cast<u32>(conversion.input_format);
|
||||
|
||||
LOG_DEBUG(Service_Y2R, "called input_format=%hhu", conversion.input_format);
|
||||
LOG_DEBUG(Service_Y2R, "called input_format=%hhu", static_cast<u8>(conversion.input_format));
|
||||
}
|
||||
|
||||
static void SetOutputFormat(Interface* self) {
|
||||
@ -112,7 +112,7 @@ static void SetOutputFormat(Interface* self) {
|
||||
cmd_buff[0] = IPC::MakeHeader(0x3, 1, 0);
|
||||
cmd_buff[1] = RESULT_SUCCESS.raw;
|
||||
|
||||
LOG_DEBUG(Service_Y2R, "called output_format=%hhu", conversion.output_format);
|
||||
LOG_DEBUG(Service_Y2R, "called output_format=%hhu", static_cast<u8>(conversion.output_format));
|
||||
}
|
||||
|
||||
static void GetOutputFormat(Interface* self) {
|
||||
@ -122,7 +122,7 @@ static void GetOutputFormat(Interface* self) {
|
||||
cmd_buff[1] = RESULT_SUCCESS.raw;
|
||||
cmd_buff[2] = static_cast<u32>(conversion.output_format);
|
||||
|
||||
LOG_DEBUG(Service_Y2R, "called output_format=%hhu", conversion.output_format);
|
||||
LOG_DEBUG(Service_Y2R, "called output_format=%hhu", static_cast<u8>(conversion.output_format));
|
||||
}
|
||||
|
||||
static void SetRotation(Interface* self) {
|
||||
@ -133,7 +133,7 @@ static void SetRotation(Interface* self) {
|
||||
cmd_buff[0] = IPC::MakeHeader(0x5, 1, 0);
|
||||
cmd_buff[1] = RESULT_SUCCESS.raw;
|
||||
|
||||
LOG_DEBUG(Service_Y2R, "called rotation=%hhu", conversion.rotation);
|
||||
LOG_DEBUG(Service_Y2R, "called rotation=%hhu", static_cast<u8>(conversion.rotation));
|
||||
}
|
||||
|
||||
static void GetRotation(Interface* self) {
|
||||
@ -143,7 +143,7 @@ static void GetRotation(Interface* self) {
|
||||
cmd_buff[1] = RESULT_SUCCESS.raw;
|
||||
cmd_buff[2] = static_cast<u32>(conversion.rotation);
|
||||
|
||||
LOG_DEBUG(Service_Y2R, "called rotation=%hhu", conversion.rotation);
|
||||
LOG_DEBUG(Service_Y2R, "called rotation=%hhu", static_cast<u8>(conversion.rotation));
|
||||
}
|
||||
|
||||
static void SetBlockAlignment(Interface* self) {
|
||||
@ -154,7 +154,8 @@ static void SetBlockAlignment(Interface* self) {
|
||||
cmd_buff[0] = IPC::MakeHeader(0x7, 1, 0);
|
||||
cmd_buff[1] = RESULT_SUCCESS.raw;
|
||||
|
||||
LOG_DEBUG(Service_Y2R, "called block_alignment=%hhu", conversion.block_alignment);
|
||||
LOG_DEBUG(Service_Y2R, "called block_alignment=%hhu",
|
||||
static_cast<u8>(conversion.block_alignment));
|
||||
}
|
||||
|
||||
static void GetBlockAlignment(Interface* self) {
|
||||
@ -164,7 +165,8 @@ static void GetBlockAlignment(Interface* self) {
|
||||
cmd_buff[1] = RESULT_SUCCESS.raw;
|
||||
cmd_buff[2] = static_cast<u32>(conversion.block_alignment);
|
||||
|
||||
LOG_DEBUG(Service_Y2R, "called block_alignment=%hhu", conversion.block_alignment);
|
||||
LOG_DEBUG(Service_Y2R, "called block_alignment=%hhu",
|
||||
static_cast<u8>(conversion.block_alignment));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -664,9 +666,10 @@ cleanup:
|
||||
Service_Y2R,
|
||||
"called input_format=%hhu output_format=%hhu rotation=%hhu block_alignment=%hhu "
|
||||
"input_line_width=%hu input_lines=%hu standard_coefficient=%hhu reserved=%hhu alpha=%hX",
|
||||
params->input_format, params->output_format, params->rotation, params->block_alignment,
|
||||
params->input_line_width, params->input_lines, params->standard_coefficient,
|
||||
params->padding, params->alpha);
|
||||
static_cast<u8>(params->input_format), static_cast<u8>(params->output_format),
|
||||
static_cast<u8>(params->rotation), static_cast<u8>(params->block_alignment),
|
||||
params->input_line_width, params->input_lines,
|
||||
static_cast<u8>(params->standard_coefficient), params->padding, params->alpha);
|
||||
}
|
||||
|
||||
static void PingProcess(Interface* self) {
|
||||
|
Reference in New Issue
Block a user