diff options
author | Pavel Labath <pavel@labath.sk> | 2019-01-10 15:53:20 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-01-10 15:53:20 +0000 |
commit | f44912599f340bbfa3ac0a40552530b933d98a61 (patch) | |
tree | 4c9265e11a3112f4a206fb29ca4a095d636d4a53 /lldb | |
parent | 67541a57cd88baa087d92f455e44c0174ce66178 (diff) |
Fix compilation error on 32-bit architectures introduced in r350511
The issue was a narrowing conversion when converting from uint64_t to a
size_t.
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/include/lldb/Utility/DataExtractor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/include/lldb/Utility/DataExtractor.h b/lldb/include/lldb/Utility/DataExtractor.h index 37f4cddca6e..f1e15e6d00e 100644 --- a/lldb/include/lldb/Utility/DataExtractor.h +++ b/lldb/include/lldb/Utility/DataExtractor.h @@ -1096,7 +1096,7 @@ public: void Checksum(llvm::SmallVectorImpl<uint8_t> &dest, uint64_t max_data = 0); llvm::ArrayRef<uint8_t> GetData() const { - return {GetDataStart(), GetByteSize()}; + return {GetDataStart(), size_t(GetByteSize())}; } protected: |