diff options
author | jvoung@google.com <jvoung@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-19 01:31:44 +0000 |
---|---|---|
committer | jvoung@google.com <jvoung@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-19 01:31:44 +0000 |
commit | 49d89f8b55b2e802d40cb9bf7e8a7051924839aa (patch) | |
tree | c71df5236f589206d35d0158516dc0fb0db0503e /ppapi | |
parent | 270a64cca0935dfa159beefe71bab17e75ca1395 (diff) | |
download | chromium_src-49d89f8b55b2e802d40cb9bf7e8a7051924839aa.zip chromium_src-49d89f8b55b2e802d40cb9bf7e8a7051924839aa.tar.gz chromium_src-49d89f8b55b2e802d40cb9bf7e8a7051924839aa.tar.bz2 |
Fix printf format code so that nacl can build with warnings treated as errors.
TBR=sehr@google.com
BUG= none
TEST= compile
Review URL: https://chromiumcodereview.appspot.com/9423032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122715 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/native_client/src/trusted/plugin/service_runtime.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ppapi/native_client/src/trusted/plugin/service_runtime.cc b/ppapi/native_client/src/trusted/plugin/service_runtime.cc index b2eeb89..f396a38 100644 --- a/ppapi/native_client/src/trusted/plugin/service_runtime.cc +++ b/ppapi/native_client/src/trusted/plugin/service_runtime.cc @@ -452,7 +452,7 @@ void PluginReverseInterface::QuotaRequest_MainThreadResponse( int32_t err) { NaClLog(4, "PluginReverseInterface::QuotaRequest_MainThreadResponse:" - " (resource=%"NACL_PRIx64", offset=%"NACL_PRId64", requested=%" + " (resource=%"NACL_PRIx32", offset=%"NACL_PRId64", requested=%" NACL_PRId64", err=%"NACL_PRId32")\n", request->resource, request->offset, request->bytes_requested, err); nacl::MutexLocker take(&mu_); @@ -520,8 +520,8 @@ void PluginReverseInterface::AddQuotaManagedFile(const nacl::string& file_id, PP_Resource resource = file_io.pp_resource(); NaClLog(4, "PluginReverseInterface::AddQuotaManagedFile: " - "(file_id='%s', file_io_ref=%"NACL_PRIx64")\n", - file_id.c_str(), (int64_t) resource); + "(file_id='%s', file_io_ref=%"NACL_PRIx32")\n", + file_id.c_str(), resource); nacl::MutexLocker take(&mu_); uint64_t file_key = STRTOULL(file_id.c_str(), NULL, 10); quota_map_[file_key] = resource; |