Fixed type conversion ambiguity

This commit is contained in:
Huw Pascoe 2017-09-27 00:26:09 +01:00
parent e2a34ccd89
commit da1c8d1522
32 changed files with 97 additions and 91 deletions

View file

@ -37,7 +37,7 @@ SharedPtr<Object> HLERequestContext::GetIncomingHandle(u32 id_from_cmdbuf) const
u32 HLERequestContext::AddOutgoingHandle(SharedPtr<Object> object) {
request_handles.push_back(std::move(object));
return request_handles.size() - 1;
return static_cast<u32>(request_handles.size() - 1);
}
void HLERequestContext::ClearIncomingObjects() {