From 77f4fc473fba5658a5a383b1b61e70584cd5689d Mon Sep 17 00:00:00 2001 From: Lectem Date: Sat, 11 Feb 2017 15:07:12 +0100 Subject: fix #2560 and other comments --- src/core/hle/ipc_helpers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/hle/ipc_helpers.h') diff --git a/src/core/hle/ipc_helpers.h b/src/core/hle/ipc_helpers.h index 263b0ff5d..98c95a7f3 100644 --- a/src/core/hle/ipc_helpers.h +++ b/src/core/hle/ipc_helpers.h @@ -119,7 +119,7 @@ inline void RequestBuilder::Push(u64 value) { template <> inline void RequestBuilder::Push(bool value) { - Push(u8(value)); + Push(static_cast(value)); } template <> @@ -277,7 +277,7 @@ inline u64 RequestParser::Pop() { template <> inline bool RequestParser::Pop() { - return Pop() != 0; // != 0 to remove warning C4800 + return Pop() != 0; } template <> -- cgit v1.2.3