windows: Fix warning C4267 conversion from 'size_t' to 'int' (see issue #3126)
This commit is contained in:
parent
5d82749377
commit
43181176cf
|
@ -98,13 +98,13 @@ class IpcDelegate final : public client::ClientAppRenderer::Delegate {
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void SendTestProcessMessage(int message_size, int test_id) {
|
void SendTestProcessMessage(size_t message_size, int test_id) {
|
||||||
auto context = CefV8Context::GetCurrentContext();
|
auto context = CefV8Context::GetCurrentContext();
|
||||||
delegate_->SendTestProcessMessage(context->GetFrame(), message_size,
|
delegate_->SendTestProcessMessage(context->GetFrame(), message_size,
|
||||||
test_id);
|
test_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SendTestSMRProcessMessage(int message_size, int test_id) {
|
void SendTestSMRProcessMessage(size_t message_size, int test_id) {
|
||||||
auto context = CefV8Context::GetCurrentContext();
|
auto context = CefV8Context::GetCurrentContext();
|
||||||
delegate_->SendTestSMRProcessMessage(context->GetFrame(), message_size,
|
delegate_->SendTestSMRProcessMessage(context->GetFrame(), message_size,
|
||||||
test_id);
|
test_id);
|
||||||
|
|
Loading…
Reference in New Issue