diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2017-06-07 04:25:30 -0700 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2017-06-07 19:52:07 -0700 |
| commit | ebd3d43b7d8b338f179378b600083e96e46e09d1 (patch) | |
| tree | 566a653a85f83cc63f032dcc694e35f524579aa8 /Source/Core | |
| parent | 8f12d7fb3cdb5138d28ede4bdcd6fa5a7cc9537e (diff) | |
ios/es: make fd s32 -> quiets warnings
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/IOS/ES/ES.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/Core/IOS/ES/ES.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Core/IOS/ES/ES.cpp b/Source/Core/Core/IOS/ES/ES.cpp index 430045705a..6023325681 100644 --- a/Source/Core/Core/IOS/ES/ES.cpp +++ b/Source/Core/Core/IOS/ES/ES.cpp @@ -328,7 +328,7 @@ void ES::DoState(PointerWrap& p) } } -ES::ContextArray::iterator ES::FindActiveContext(u32 fd) +ES::ContextArray::iterator ES::FindActiveContext(s32 fd) { return std::find_if(m_contexts.begin(), m_contexts.end(), [fd](const auto& context) { return context.ipc_fd == fd && context.active; }); diff --git a/Source/Core/Core/IOS/ES/ES.h b/Source/Core/Core/IOS/ES/ES.h index 1deb3919d7..b56ac57b69 100644 --- a/Source/Core/Core/IOS/ES/ES.h +++ b/Source/Core/Core/IOS/ES/ES.h @@ -94,7 +94,7 @@ public: TitleExportContext title_export; bool active = false; // We use this to associate an IPC fd with an ES context. - u32 ipc_fd = -1; + s32 ipc_fd = -1; }; // Title management @@ -277,7 +277,7 @@ private: IPCCommandResult DIGetTMDSize(const IOCtlVRequest& request); IPCCommandResult DIGetTMD(const IOCtlVRequest& request); - ContextArray::iterator FindActiveContext(u32 fd); + ContextArray::iterator FindActiveContext(s32 fd); ContextArray::iterator FindInactiveContext(); bool LaunchIOS(u64 ios_title_id); |
