GS:MTL: Clear a few warnings

This commit is contained in:
TellowKrinkle 2022-11-13 23:09:15 -06:00 committed by tellowkrinkle
parent 08f503748e
commit ec887d5aaf
1 changed files with 2 additions and 2 deletions

View File

@ -305,7 +305,7 @@ void GSDeviceMTL::FlushEncoders()
if (GSDeviceMTL* dev = backref->second)
{
dev->DrawCommandBufferFinished(draw, buf);
dev->m_spin_manager.DrawCompleted(spin_id, begin, end);
dev->m_spin_manager.DrawCompleted(spin_id, static_cast<u32>(begin), static_cast<u32>(end));
}
}];
}
@ -342,7 +342,7 @@ void GSDeviceMTL::FlushEncoders()
#pragma clang diagnostic pop
std::lock_guard<std::mutex> guard(backref->first);
if (GSDeviceMTL* dev = backref->second)
dev->m_spin_manager.SpinCompleted(spin_cycles, begin, end);
dev->m_spin_manager.SpinCompleted(spin_cycles, static_cast<u32>(begin), static_cast<u32>(end));
}];
[spinCmdBuf commit];
}