windows: Fix warning C4267 conversion from 'size_t' to 'int' (see issue #3126)

This commit is contained in:
Marshall Greenblatt 2022-07-19 10:05:22 -04:00
parent 4aef0ada9d
commit 3838536126
1 changed files with 2 additions and 2 deletions

View File

@ -98,13 +98,13 @@ class IpcDelegate final : public client::ClientAppRenderer::Delegate {
}
private:
void SendTestProcessMessage(int message_size, int test_id) {
void SendTestProcessMessage(size_t message_size, int test_id) {
auto context = CefV8Context::GetCurrentContext();
delegate_->SendTestProcessMessage(context->GetFrame(), message_size,
test_id);
}
void SendTestSMRProcessMessage(int message_size, int test_id) {
void SendTestSMRProcessMessage(size_t message_size, int test_id) {
auto context = CefV8Context::GetCurrentContext();
delegate_->SendTestSMRProcessMessage(context->GetFrame(), message_size,
test_id);