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

View file

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