mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
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
This commit is contained in:
@@ -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<int>(count));
|
||||
TestHandler::Collection collection(&completion_state);
|
||||
|
||||
std::vector<CefRefPtr<NetNotifyTestHandler>> handlers;
|
||||
|
Reference in New Issue
Block a user