From 4f07cba0112d26542d157ab0c0180ee2f022ea34 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Mon, 21 Oct 2019 15:34:46 +0200 Subject: [PATCH] Windows: Fix type conversion warning with 64-bit MSVC. request_handler_unittest.cc(448,55): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data --- tests/ceftests/request_handler_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ceftests/request_handler_unittest.cc b/tests/ceftests/request_handler_unittest.cc index 665af7d22..0ea87412a 100644 --- a/tests/ceftests/request_handler_unittest.cc +++ b/tests/ceftests/request_handler_unittest.cc @@ -451,7 +451,7 @@ class NetNotifyRendererTest : public ClientAppRenderer::Delegate, void RunNetNotifyTest(NetNotifyTestType test_type, bool same_origin, size_t count = 3U) { - TestHandler::CompletionState completion_state(count); + TestHandler::CompletionState completion_state(static_cast(count)); TestHandler::Collection collection(&completion_state); std::vector> handlers;