1
0
Fork 0
forked from suyu/suyu

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