Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Unified Diff: tests/test_url_loader.cc

Issue 3993001: Run Pepper unit tests in Native Client, part 1 (pepper repo).... (Closed) Base URL: http://ppapi.googlecode.com/svn/trunk/
Patch Set: '' Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/test_file_ref.cc ('k') | tests/testing_instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « tests/test_file_ref.cc ('k') | tests/testing_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698