Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2976)

Unified Diff: samples/pdfium_test.cc

Issue 848443002: Fix v8 external snapshot code for Windows. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix typo Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/pdfium_test.cc
diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc
index b217f89c705366198e1642ecab412af4bcb4e12e..9e1527d98d4104e49c81d18161cbff968eb68d9f 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698