summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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