BUG=421063
LOG=N
R=vogelheim@chromium.org
Review URL: https://codereview.chromium.org/
727513002
Patch from André Baixo <baixo@google.com>.
Cr-Commit-Position: refs/heads/master@{#25340}
rewind(file);
startup_data->data = new char[startup_data->raw_size];
- startup_data->compressed_size = fread(
- const_cast<char*>(startup_data->data), 1, startup_data->raw_size,
- file);
+ startup_data->compressed_size =
+ static_cast<int>(fread(const_cast<char*>(startup_data->data), 1,
+ startup_data->raw_size, file));
fclose(file);
if (startup_data->raw_size == startup_data->compressed_size)