Chromium Code Reviews| Index: src/utils.cc |
| diff --git a/src/utils.cc b/src/utils.cc |
| index c6fe55b5c65d309c190ff3bd3568247c5dc7774f..b33e4c2de3b63dd4a487f9dd10f616003bbfcfcf 100644 |
| --- a/src/utils.cc |
| +++ b/src/utils.cc |
| @@ -203,7 +203,7 @@ char* ReadCharsFromFile(FILE* file, |
| } |
| // Get the size of the file and rewind it. |
| - *size = ftell(file); |
| + *size = static_cast<int>(ftell(file)); |
| rewind(file); |
| char* result = NewArray<char>(*size + extra_space); |