1
0
Fork 0

ipc_helpers: silent signed comparison warning

index is only used as positive index in arrays. The warning is in DEBUG_ASSERT_MSG(index == TotalSize() ...)
This commit is contained in:
Weiyi Wang 2019-07-14 14:49:34 -04:00
parent e689847b11
commit fd3cfd0ae0
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class RequestHelperBase {
protected: protected:
Kernel::HLERequestContext* context; Kernel::HLERequestContext* context;
u32* cmdbuf; u32* cmdbuf;
ptrdiff_t index = 1; std::size_t index = 1;
Header header; Header header;
public: public: