From f731837225b825e154d6b1664160ed6f70d451ce Mon Sep 17 00:00:00 2001 From: Ross McIlroy Date: Wed, 14 Jan 2015 13:05:13 +0100 Subject: Fix v8 external snapshot code for Windows. Needed to land https://codereview.chromium.org/826083004/. BUG=421063, 439661 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/848443002 Patch from Ross McIlroy . --- samples/pdfium_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc index b217f89c70..9e1527d98d 100644 --- a/samples/pdfium_test.cc +++ b/samples/pdfium_test.cc @@ -105,7 +105,7 @@ static bool GetExternalData(const Options& options, return false; } result_data->data = const_cast(data_buffer); - result_data->raw_size = data_length; + result_data->raw_size = static_cast(data_length); return true; } #endif // V8_USE_EXTERNAL_STARTUP_DATA -- cgit v1.2.3