BrowserSubprocess - TreatWarningAsError for debug builds

Statically cast size_t to int to remove warnings
This commit is contained in:
Alex Maitland
2021-09-10 10:08:40 +10:00
parent b3fd1f598c
commit 4596d33f1e
6 changed files with 13 additions and 8 deletions
@@ -70,7 +70,9 @@ namespace CefSharp
{
auto result = gcnew List<JavascriptObject^>();
auto subList = list->GetList(index);
for (size_t i = 0; i < subList->GetSize(); i++)
auto size = static_cast<int>(subList->GetSize());
for (int i = 0; i < size; i++)
{
result->Add(DeserializeJsObject(subList, i));
}