| Index: ppapi/tests/test_post_message.cc
|
| diff --git a/ppapi/tests/test_post_message.cc b/ppapi/tests/test_post_message.cc
|
| index 8e7be05635d5eeae65b3f842636645c62684115c..da560cfff5d65c12187a2ca2264ab54598e929fd 100644
|
| --- a/ppapi/tests/test_post_message.cc
|
| +++ b/ppapi/tests/test_post_message.cc
|
| @@ -294,7 +294,7 @@ int TestPostMessage::WaitForMessages() {
|
| // Now that the FINISHED_WAITING_MESSAGE has been echoed back to us, we know
|
| // that all pending messages have been slurped up. Return the number we
|
| // received (which may be zero).
|
| - return message_data_.size() - message_size_before;
|
| + return static_cast<int>(message_data_.size() - message_size_before);
|
| }
|
|
|
| std::string TestPostMessage::CheckMessageProperties(
|
| @@ -594,7 +594,7 @@ std::string TestPostMessage::TestSendingResource() {
|
|
|
| std::string file_path("/");
|
| file_path += kTestFilename;
|
| - int content_length = strlen(kTestString);
|
| + int content_length = static_cast<int>(strlen(kTestString));
|
|
|
| // Create a file in the HTML5 temporary file system, in the Pepper plugin.
|
| TestCompletionCallback callback(instance_->pp_instance(), callback_type());
|
|
|