2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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

This commit is contained in:
bunnei 2021-05-10 17:45:55 -07:00
parent 2c1e119c4a
commit 343d92a092

View file

@ -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()) {