Fix build for latest VS2019

This commit is contained in:
Ted John 2020-07-10 18:43:49 +01:00
parent 0e96674a46
commit 0e788918e2
2 changed files with 2 additions and 1 deletions

View File

@ -1205,7 +1205,7 @@ namespace OpenRCT2::Ui::Windows
{
if (customWidgetInfo->Name == name)
{
return i;
return static_cast<rct_widgetindex>(i);
}
}
}

View File

@ -18,6 +18,7 @@
// Then the rest
#include <algorithm>
#include <iterator>
#include <openrct2-ui/Ui.h>
#include <openrct2/core/String.hpp>
#include <stdio.h>