mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
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:
committed by
GitHub
parent
f55707d9ff
commit
b0b5103100
@@ -54,7 +54,7 @@ namespace CefSharp
|
||||
auto request = CefProcessMessage::Create(kJavascriptAsyncMethodCallRequest);
|
||||
auto argList = request->GetArgumentList();
|
||||
auto params = CefListValue::Create();
|
||||
for (auto i = 0; i < arguments.size(); i++)
|
||||
for (size_t i = 0; i < arguments.size(); i++)
|
||||
{
|
||||
SerializeV8Object(arguments[i], params, i, _callbackRegistry);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user