Fix code analysis C4018 warnings (#3223)

* Replace `auto`s with `size_t`s to reduce:

```
Severity	Code	Description	Project	File	Line	Suppression State
Warning	C4018	'<': signed/unsigned mismatch	CefSharp.BrowserSubprocess.Core	c:\repos\cefsharp\cefsharp.browsersubprocess.core\serialization\jsobjectsserialization.cpp	71
```

* Fix templates
This commit is contained in:
Gilberto Stankiewicz
2020-08-26 02:13:13 -07:00
committed by GitHub
parent f55707d9ff
commit b0b5103100
11 changed files with 31 additions and 20 deletions
@@ -68,7 +68,7 @@ namespace CefSharp
{
auto result = gcnew List<JavascriptObject^>();
auto subList = list->GetList(index);
for (auto i = 0; i < subList->GetSize(); i++)
for (size_t i = 0; i < subList->GetSize(); i++)
{
result->Add(DeserializeJsObject(subList, i));
}
@@ -77,4 +77,4 @@ namespace CefSharp
}
}
}
}
}