From fd3cfd0ae0b9f074b6c777d7c5557c911beb89d5 Mon Sep 17 00:00:00 2001 From: Weiyi Wang Date: Sun, 14 Jul 2019 14:49:34 -0400 Subject: [PATCH] ipc_helpers: silent signed comparison warning index is only used as positive index in arrays. The warning is in DEBUG_ASSERT_MSG(index == TotalSize() ...) --- src/core/hle/ipc_helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/ipc_helpers.h b/src/core/hle/ipc_helpers.h index 8176f0bbb6..2f2312761f 100644 --- a/src/core/hle/ipc_helpers.h +++ b/src/core/hle/ipc_helpers.h @@ -19,7 +19,7 @@ class RequestHelperBase { protected: Kernel::HLERequestContext* context; u32* cmdbuf; - ptrdiff_t index = 1; + std::size_t index = 1; Header header; public: