summaryrefslogtreecommitdiffstats
path: root/src/core/hle/ipc_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/ipc_helpers.h')
-rw-r--r--src/core/hle/ipc_helpers.h4
1 files changed, 2 insertions, 2 deletions
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<u8>(value));
}
template <>
@@ -277,7 +277,7 @@ inline u64 RequestParser::Pop() {
template <>
inline bool RequestParser::Pop() {
- return Pop<u8>() != 0; // != 0 to remove warning C4800
+ return Pop<u8>() != 0;
}
template <>