Fix build for latest VS2019

This commit is contained in:
Ted John committed 2020-07-10 18:44:26 +01:00
1 parent 0e96674a46
commit 0e788918e2
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -1205,7 +1205,7 @@ namespace OpenRCT2::Ui::Windows
{
if (customWidgetInfo->Name == name)
{
return i;
return static_cast<rct_widgetindex>(i);
}
}
}
+1
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>