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

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

Issue 862233002: Fix wrong type for a temp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc
diff --git a/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc b/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc
index fa84af0e3dec0fb892eff803c05fd1de33841cef..20e0a7ae34ff3f6fa0f3c04733cb2bf85af29848 100644
--- a/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc
+++ b/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc
@@ -227,7 +227,7 @@ void PnaclCoordinator::TranslateFinished(int32_t pp_error) {
struct NaClDesc* desc = temp_nexe_file_->read_wrapper()->desc();
if (0 == (*((struct NaClDescVtbl const *)desc->base.vtbl)->Fstat)(desc,
&stbuf)) {
- size_t nexe_size = stbuf.nacl_abi_st_size;
+ nacl_abi_off_t nexe_size = stbuf.nacl_abi_st_size;
HistogramSizeKB(plugin_->uma_interface(),
"NaCl.Perf.Size.PNaClTranslatedNexe",
static_cast<int32_t>(nexe_size / 1024));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698