mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 09:12:46 +01:00
Merge pull request #4148 from Morph1984/silence-warnings
Silence miscellaneous warnings
This commit is contained in:
commit
2ce3aedda8
2 changed files with 3 additions and 2 deletions
|
@ -86,7 +86,8 @@ std::string FormatField(Field type, const std::vector<u8>& data) {
|
||||||
return Common::StringFromFixedZeroTerminatedBuffer(
|
return Common::StringFromFixedZeroTerminatedBuffer(
|
||||||
reinterpret_cast<const char*>(data.data()), data.size());
|
reinterpret_cast<const char*>(data.data()), data.size());
|
||||||
default:
|
default:
|
||||||
UNIMPLEMENTED();
|
UNIMPLEMENTED_MSG("Unimplemented field type={}", type);
|
||||||
|
return "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ private:
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 3};
|
IPC::ResponseBuilder rb{ctx, 3};
|
||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
rb.Push<u32>(write_size);
|
rb.Push<u32>(static_cast<u32>(write_size));
|
||||||
}
|
}
|
||||||
|
|
||||||
void StartIndividual(Kernel::HLERequestContext& ctx) {
|
void StartIndividual(Kernel::HLERequestContext& ctx) {
|
||||||
|
|
Loading…
Reference in a new issue