diff options
author | Lectem <lectem@gmail.com> | 2017-02-11 15:07:12 +0100 |
---|---|---|
committer | Lectem <lectem@gmail.com> | 2017-03-18 10:44:01 +0100 |
commit | 77f4fc473fba5658a5a383b1b61e70584cd5689d (patch) | |
tree | c62e2543074b7165aec54b4b20ad5b31be9ac0e8 /src/core/hle/ipc_helpers.h | |
parent | move push out of class body and add u8 u16 bool specializations (diff) | |
download | yuzu-77f4fc473fba5658a5a383b1b61e70584cd5689d.tar yuzu-77f4fc473fba5658a5a383b1b61e70584cd5689d.tar.gz yuzu-77f4fc473fba5658a5a383b1b61e70584cd5689d.tar.bz2 yuzu-77f4fc473fba5658a5a383b1b61e70584cd5689d.tar.lz yuzu-77f4fc473fba5658a5a383b1b61e70584cd5689d.tar.xz yuzu-77f4fc473fba5658a5a383b1b61e70584cd5689d.tar.zst yuzu-77f4fc473fba5658a5a383b1b61e70584cd5689d.zip |
Diffstat (limited to 'src/core/hle/ipc_helpers.h')
-rw-r--r-- | src/core/hle/ipc_helpers.h | 4 |
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 <> |