| Index: ui/base/resource/data_pack.cc
|
| diff --git a/ui/base/resource/data_pack.cc b/ui/base/resource/data_pack.cc
|
| index f4a9e470fd065b8841eeeb9eb66b4eb6ad72969e..70841b6ba8f32a883f718d5b387800236cab1e39 100644
|
| --- a/ui/base/resource/data_pack.cc
|
| +++ b/ui/base/resource/data_pack.cc
|
| @@ -262,7 +262,7 @@ bool DataPack::WritePack(const base::FilePath& path,
|
| return false;
|
| }
|
|
|
| - uint8 write_buffer = textEncodingType;
|
| + uint8 write_buffer = static_cast<uint8>(textEncodingType);
|
| if (fwrite(&write_buffer, sizeof(uint8), 1, file) != 1) {
|
| LOG(ERROR) << "Failed to write file text resources encoding";
|
| base::CloseFile(file);
|
|
|