Mac: Fix implicit type cast errors with Xcode 14.1

This commit is contained in:
Marshall Greenblatt
2023-01-04 14:23:52 -05:00
parent 3af3eab3e4
commit 7ba45a0451
5 changed files with 19 additions and 17 deletions

View File

@@ -47,7 +47,7 @@ class V8Handler : public CefV8Handler {
// Execute the test.
int64 delta = kPerfTests[i].test(kPerfTests[i].iterations);
retval = CefV8Value::CreateInt(delta);
retval = CefV8Value::CreateInt(static_cast<int32>(delta));
found = true;
break;
}