From 49d89f8b55b2e802d40cb9bf7e8a7051924839aa Mon Sep 17 00:00:00 2001 From: "jvoung@google.com" Date: Sun, 19 Feb 2012 01:31:44 +0000 Subject: 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 --- ppapi/native_client/src/trusted/plugin/service_runtime.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ppapi/native_client') 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; -- cgit v1.1