git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6402
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
// Report the error and abort if appropriate:
if (abort_if_failed) {
- intptr_t char_no = (p - start_of_line) - 1;
+ int char_no = static_cast<int>(p - start_of_line) - 1;
ASSERT(filename_ != NULL);
PrintF("\n\n\n"
err_context = data_;
}
// Compute the length of the error context and print it.
- intptr_t err_context_length = p - err_context;
+ int err_context_length = static_cast<int>(p - err_context);
if (err_context_length != 0) {
PrintF(" after \"%.*s\"", err_context_length, err_context);
}