From 43181176cfc80e08128943efb3f75174b853045f Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Tue, 19 Jul 2022 10:05:22 -0400 Subject: [PATCH] windows: Fix warning C4267 conversion from 'size_t' to 'int' (see issue #3126) --- tests/cefclient/renderer/ipc_performance_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cefclient/renderer/ipc_performance_test.cc b/tests/cefclient/renderer/ipc_performance_test.cc index c0f092246..2593150c5 100644 --- a/tests/cefclient/renderer/ipc_performance_test.cc +++ b/tests/cefclient/renderer/ipc_performance_test.cc @@ -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);