| Index: preparser/preparser-process.cc
|
| diff --git a/preparser/preparser-process.cc b/preparser/preparser-process.cc
|
| index 368f63f6ce5d7149508df0ebf273ce9a639dcf75..169ef547eef8656dce1a764532394d3cca67fddb 100644
|
| --- a/preparser/preparser-process.cc
|
| +++ b/preparser/preparser-process.cc
|
| @@ -202,7 +202,7 @@ void fail(v8::PreParserData* data, const char* message, ...) {
|
| fflush(stderr);
|
| if (data != NULL) {
|
| // Print preparser data to stdout.
|
| - uint32_t size = data->size();
|
| + uint32_t size = static_cast<uint32_t>(data->size());
|
| fprintf(stderr, "LOG: data size: %u\n", size);
|
| if (!WriteBuffer(stdout, data->data(), size)) {
|
| perror("ERROR: Writing data");
|
| @@ -232,7 +232,7 @@ struct ExceptionExpectation {
|
|
|
| void CheckException(v8::PreParserData* data,
|
| ExceptionExpectation* expects) {
|
| - PreparseDataInterpreter reader(data->data(), data->size());
|
| + PreparseDataInterpreter reader(data->data(), static_cast<int>(data->size()));
|
| if (expects->throws) {
|
| if (!reader.throws()) {
|
| if (expects->type == NULL) {
|
|
|