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

Unified Diff: ppapi/native_client/src/trusted/plugin/local_temp_file.cc

Issue 20182002: Make inttypes.h and similar macro usage C++11-friendly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: line Created 7 years, 5 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
Index: ppapi/native_client/src/trusted/plugin/local_temp_file.cc
diff --git a/ppapi/native_client/src/trusted/plugin/local_temp_file.cc b/ppapi/native_client/src/trusted/plugin/local_temp_file.cc
index bee15eeafb1a06a4806d961cda6780d760e6bc42..15917e7110407b567cb835daddb9b0fe19b7782e 100644
--- a/ppapi/native_client/src/trusted/plugin/local_temp_file.cc
+++ b/ppapi/native_client/src/trusted/plugin/local_temp_file.cc
@@ -84,7 +84,7 @@ void LocalTempFile::Initialize() {
pp::Module::Get()->GetBrowserInterface(PPB_FILEIOTRUSTED_INTERFACE));
++next_identifier;
SNPRINTF(reinterpret_cast<char *>(identifier_), sizeof identifier_,
- "%"NACL_PRIu32, next_identifier);
+ "%" NACL_PRIu32, next_identifier);
}
LocalTempFile::~LocalTempFile() {
@@ -116,7 +116,7 @@ void LocalTempFile::OpenWrite(const pp::CompletionCallback& cb) {
int32_t LocalTempFile::GetFD(int32_t pp_error,
const pp::Resource& resource,
bool is_writable) {
- PLUGIN_PRINTF(("LocalTempFile::GetFD (pp_error=%"NACL_PRId32
+ PLUGIN_PRINTF(("LocalTempFile::GetFD (pp_error=%" NACL_PRId32
", is_writable=%d)\n", pp_error, is_writable));
if (pp_error != PP_OK) {
PLUGIN_PRINTF(("LocalTempFile::GetFD pp_error != PP_OK\n"));
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/file_downloader.cc ('k') | ppapi/native_client/src/trusted/plugin/module_ppapi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698