0

Fix wrong type for a temp.

Caught by MSVC type truncation warnings.

BUG=81439
TEST=none
TBR=jvoung

Review URL: https://codereview.chromium.org/862233002

Cr-Commit-Position: refs/heads/master@{#312548}
This commit is contained in:
pkasting
2015-01-21 19:06:21 -08:00
committed by Commit bot
parent 06ceef0a7f
commit ed7cc0bd51

@ -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));