core: hle: ipc_helpers: Fix cast on raw_data_size calculation.

master
bunnei 2021-05-10 17:45:55 +07:00
parent 2c1e119c4a
commit 343d92a092
1 changed files with 1 additions and 1 deletions

@ -101,7 +101,7 @@ public:
} }
if (ctx.Session()->IsDomain()) { if (ctx.Session()->IsDomain()) {
raw_data_size += sizeof(DomainMessageHeader) / 4 + num_domain_objects; raw_data_size += static_cast<u32>(sizeof(DomainMessageHeader) / 4 + num_domain_objects);
} }
if (ctx.IsTipc()) { if (ctx.IsTipc()) {