| Index: test/cctest/test-parsing.cc
|
| diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc
|
| index 151cf50a5c4baa538448e211256455fbc7691167..eadcaedb9d62410c61f2d826cb3c40e80c4ea6e8 100755
|
| --- a/test/cctest/test-parsing.cc
|
| +++ b/test/cctest/test-parsing.cc
|
| @@ -321,14 +321,15 @@ TEST(Regress928) {
|
|
|
| data->Initialize();
|
|
|
| - int first_function = strstr(program, "function") - program;
|
| - int first_lbrace = first_function + strlen("function () ");
|
| + intptr_t first_function = strstr(program, "function") - program;
|
| + intptr_t first_lbrace = first_function + strlen("function () ");
|
| CHECK_EQ('{', program[first_lbrace]);
|
| i::FunctionEntry entry1 = data->GetFunctionEntry(first_lbrace);
|
| CHECK(!entry1.is_valid());
|
|
|
| - int second_function = strstr(program + first_lbrace, "function") - program;
|
| - int second_lbrace = second_function + strlen("function () ");
|
| + intptr_t second_function =
|
| + strstr(program + first_lbrace, "function") - program;
|
| + intptr_t second_lbrace = second_function + strlen("function () ");
|
| CHECK_EQ('{', program[second_lbrace]);
|
| i::FunctionEntry entry2 = data->GetFunctionEntry(second_lbrace);
|
| CHECK(entry2.is_valid());
|
|
|