diff options
author | 2016-04-20 15:32:48 -0800 | |
---|---|---|
committer | 2016-04-20 16:40:53 -0700 | |
commit | b91a6010f4b933b2edf05700c3dd744ec6fb5a5b (patch) | |
tree | 9ff2907a7459277013117f513ef488aeb3e283d8 /tensorflow/core/util/memmapped_file_system_writer.cc | |
parent | 641bd0d0191f4f603db44789d239dfc2507a9bb6 (diff) |
Fixed compilation warning
Change: 120389579
Diffstat (limited to 'tensorflow/core/util/memmapped_file_system_writer.cc')
-rw-r--r-- | tensorflow/core/util/memmapped_file_system_writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/util/memmapped_file_system_writer.cc b/tensorflow/core/util/memmapped_file_system_writer.cc index 294f997aab..8935428581 100644 --- a/tensorflow/core/util/memmapped_file_system_writer.cc +++ b/tensorflow/core/util/memmapped_file_system_writer.cc @@ -83,7 +83,7 @@ Status MemmappedFileSystemWriter::SaveProtobuf( namespace { StringPiece EncodeUint64LittleEndian(uint64 val, char* output_buffer) { - for (int i = 0; i < sizeof(uint64); ++i) { + for (unsigned int i = 0; i < sizeof(uint64); ++i) { output_buffer[i] = (val >> i * 8); } return {output_buffer, sizeof(uint64)}; |