diff options
author | A. Unique TensorFlower <nobody@tensorflow.org> | 2016-04-19 12:10:26 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-04-19 13:12:19 -0700 |
commit | b1d7f22fc6ab2bd3c1064b19621b9f889efb203f (patch) | |
tree | 83a5df5f5d17a94762d1740c415099fff35da61d /tensorflow | |
parent | 27b1f372234a78e64854203bdecd700de7fe3bd8 (diff) |
Fixed asan test for memmapped file system
Change: 120261367
Diffstat (limited to 'tensorflow')
-rw-r--r-- | tensorflow/core/util/memmapped_file_system.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/util/memmapped_file_system.cc b/tensorflow/core/util/memmapped_file_system.cc index b0537c8038..ca4a934004 100644 --- a/tensorflow/core/util/memmapped_file_system.cc +++ b/tensorflow/core/util/memmapped_file_system.cc @@ -25,7 +25,7 @@ namespace { uint64 DecodeUint64LittleEndian(const uint8* buffer) { uint64 result = 0; for (int i = 0; i < static_cast<int>(sizeof(uint64)); ++i) { - result |= buffer[i] << (8 * i); + result |= static_cast<uint64>(buffer[i]) << (8 * i); } return result; } |