From 343d92a092769884f7feb2563bc16a2ba09a7021 Mon Sep 17 00:00:00 2001 From: bunnei Date: Mon, 10 May 2021 17:45:55 -0700 Subject: core: hle: ipc_helpers: Fix cast on raw_data_size calculation. --- src/core/hle/ipc_helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/hle') diff --git a/src/core/hle/ipc_helpers.h b/src/core/hle/ipc_helpers.h index c76302dc9..571b4e81d 100644 --- a/src/core/hle/ipc_helpers.h +++ b/src/core/hle/ipc_helpers.h @@ -101,7 +101,7 @@ public: } if (ctx.Session()->IsDomain()) { - raw_data_size += sizeof(DomainMessageHeader) / 4 + num_domain_objects; + raw_data_size += static_cast(sizeof(DomainMessageHeader) / 4 + num_domain_objects); } if (ctx.IsTipc()) { -- cgit v1.2.3