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

Unified Diff: ppapi/tests/test_utils.cc

Issue 7049021: Adjust PPAPI tests so they can also be run in the NaCl build using PyAuto. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 | « ppapi/tests/test_case.nmf ('k') | ppapi/tests/testing_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « ppapi/tests/test_case.nmf ('k') | ppapi/tests/testing_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698