diff --git a/include/stratosphere/ipc/ipc_serialization.hpp b/include/stratosphere/ipc/ipc_serialization.hpp index e69dd991..abd698b3 100644 --- a/include/stratosphere/ipc/ipc_serialization.hpp +++ b/include/stratosphere/ipc/ipc_serialization.hpp @@ -650,26 +650,24 @@ constexpr Result WrapIpcCommandImpl(IpcResponseContext *ctx) { } -template +template inline static constexpr ServiceCommandMeta MakeServiceCommandMeta() { return { .fw_low = l, .fw_high = h, - .cmd_id = c, + .cmd_id = static_cast(c), .handler = WrapIpcCommandImpl, }; }; -template +template inline static constexpr ServiceCommandMeta MakeServiceCommandMetaEx() { return { .fw_low = l, .fw_high = h, - .cmd_id = c, + .cmd_id = static_cast(c), .handler = WrapIpcCommandImpl, }; }; - - #pragma GCC diagnostic pop