From a4e3eae4b63d3377c89ffbb4297d2e12173d1b5d Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 13 Jul 2020 11:00:46 -0700 Subject: [PATCH] svc/ipc: fix handle count accessors --- .../libvapours/include/vapours/svc/ipc/svc_message_buffer.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/libvapours/include/vapours/svc/ipc/svc_message_buffer.hpp b/libraries/libvapours/include/vapours/svc/ipc/svc_message_buffer.hpp index ce980e6b7..af3b3cb5c 100644 --- a/libraries/libvapours/include/vapours/svc/ipc/svc_message_buffer.hpp +++ b/libraries/libvapours/include/vapours/svc/ipc/svc_message_buffer.hpp @@ -159,11 +159,11 @@ namespace ams::svc::ipc { return this->header.Get(); } - constexpr ALWAYS_INLINE bool GetCopyHandleCount() const { + constexpr ALWAYS_INLINE s32 GetCopyHandleCount() const { return this->header.Get(); } - constexpr ALWAYS_INLINE bool GetMoveHandleCount() const { + constexpr ALWAYS_INLINE s32 GetMoveHandleCount() const { return this->header.Get(); }