summaryrefslogtreecommitdiffstats
path: root/ppapi/native_client
diff options
context:
space:
mode:
authorjvoung@chromium.org <jvoung@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-13 09:25:02 +0000
committerjvoung@chromium.org <jvoung@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-13 09:25:02 +0000
commit0820547d985dbfa1dddb5a48aca248d1e2090e7f (patch)
treec30383d81656ffb46a94f3bc6735860a1802c25c /ppapi/native_client
parent5a24af8462952393e3eb080080f263203cfd933a (diff)
downloadchromium_src-0820547d985dbfa1dddb5a48aca248d1e2090e7f.zip
chromium_src-0820547d985dbfa1dddb5a48aca248d1e2090e7f.tar.gz
chromium_src-0820547d985dbfa1dddb5a48aca248d1e2090e7f.tar.bz2
Fix NaCl PLUGIN_PRINTF for EnqueueProgressEvent().
The event_type is now an enum instead of a string, so change the format char. (after this CL: https://codereview.chromium.org/14588009) BUG=none Review URL: https://codereview.chromium.org/70513004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234784 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/native_client')
-rw-r--r--ppapi/native_client/src/trusted/plugin/plugin.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/native_client/src/trusted/plugin/plugin.cc b/ppapi/native_client/src/trusted/plugin/plugin.cc
index a146ff3..f348b0f 100644
--- a/ppapi/native_client/src/trusted/plugin/plugin.cc
+++ b/ppapi/native_client/src/trusted/plugin/plugin.cc
@@ -1471,9 +1471,9 @@ void Plugin::EnqueueProgressEvent(PP_NaClEventType event_type,
uint64_t loaded_bytes,
uint64_t total_bytes) {
PLUGIN_PRINTF(("Plugin::EnqueueProgressEvent ("
- "event_type='%s', url='%s', length_computable=%d, "
+ "event_type='%d', url='%s', length_computable=%d, "
"loaded=%" NACL_PRIu64 ", total=%" NACL_PRIu64 ")\n",
- event_type,
+ static_cast<int>(event_type),
url.c_str(),
static_cast<int>(length_computable),
loaded_bytes,