Fix compilation error on 64-bit MSVC builds (#21677)

This commit is contained in:
Michael Steenbeek 2024-03-26 16:28:51 +01:00 committed by GitHub
parent bf20a6d146
commit 03b0c1e884
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1116,7 +1116,7 @@ static std::vector<Widget> _window_editor_object_selection_widgets = {
{
if (TabOrder[offset] == objectType)
{
SetPage(offset);
SetPage(static_cast<int32_t>(offset));
return;
}
}