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

Unified Diff: tests/test_file_ref.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_case.html ('k') | tests/test_url_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/test_file_ref.cc
===================================================================
--- tests/test_file_ref.cc (revision 311)
+++ tests/test_file_ref.cc (working copy)
@@ -65,7 +65,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)
« no previous file with comments | « tests/test_case.html ('k') | tests/test_url_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698