summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorRoss McIlroy <rmcilroy@chromium.org>2015-01-14 13:05:13 +0100
committerJochen Eisinger <jochen@chromium.org>2015-01-14 13:05:13 +0100
commitf731837225b825e154d6b1664160ed6f70d451ce (patch)
tree0e6df5b54a270b564419538a4f7f4b31e42adbd9 /samples
parent7900739d72a429621a17d6addbbb1ab05c67f085 (diff)
downloadpdfium-f731837225b825e154d6b1664160ed6f70d451ce.tar.xz
Fix v8 external snapshot code for Windows.chromium/2277
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 <rmcilroy@chromium.org>.
Diffstat (limited to 'samples')
-rw-r--r--samples/pdfium_test.cc2
1 files changed, 1 insertions, 1 deletions
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<const char*>(data_buffer);
- result_data->raw_size = data_length;
+ result_data->raw_size = static_cast<int>(data_length);
return true;
}
#endif // V8_USE_EXTERNAL_STARTUP_DATA