Index: tests/test_url_loader.cc |
=================================================================== |
--- tests/test_url_loader.cc (revision 311) |
+++ tests/test_url_loader.cc (working copy) |
@@ -55,7 +55,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)); |
return method + std::string(" failed with error: ") + error_as_string; |
} |