Index: ppapi/tests/test_utils.cc |
=================================================================== |
--- ppapi/tests/test_utils.cc (revision 86338) |
+++ ppapi/tests/test_utils.cc (working copy) |
@@ -18,7 +18,7 @@ |
std::string ReportError(const char* method, int32_t error) { |
char error_as_string[12]; |
- sprintf(error_as_string, "%d", error); |
+ sprintf(error_as_string, "%d", static_cast<int>(error)); |
std::string result = method + std::string(" failed with error: ") + |
error_as_string; |
if (error == PP_ERROR_NOSPACE) |