[glutils,nostalgia,studio] Fix Xcode build errors

This commit is contained in:
2023-06-06 00:18:13 -05:00
parent 7bccfc8a00
commit 13b2df57fe
6 changed files with 34 additions and 14 deletions

View File

@@ -60,7 +60,7 @@ void NewMenu::drawNewItemType(turbine::Context *ctx) noexcept {
items[i] = im->name.c_str();
++i;
}
ImGui::ListBox("Item Type", &m_selectedType, items.get(), m_types.size());
ImGui::ListBox("Item Type", &m_selectedType, items.get(), static_cast<int>(m_types.size()));
drawFirstPageButtons();
ImGui::EndPopup();
});