mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 11:07:44 +00:00
CMapArea: Resolve sign conversion warning in Draw()
Resolves a trivial sign-conversion warning.
This commit is contained in:
@@ -246,9 +246,10 @@ void CMapArea::CMapAreaSurface::PostConstruct(const u8* buf, std::vector<u32>& i
|
||||
}
|
||||
|
||||
void CMapArea::CMapAreaSurface::Draw(const zeus::CVector3f* verts, const zeus::CColor& surfColor,
|
||||
const zeus::CColor& lineColor, float lineWidth, int instIdx) const {
|
||||
if (instIdx >= m_instances.size())
|
||||
const zeus::CColor& lineColor, float lineWidth, size_t instIdx) const {
|
||||
if (instIdx >= m_instances.size()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Instance& instance = const_cast<Instance&>(m_instances[instIdx]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user