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 | 20c7844f50a2f2c555bfc6d9b3d2376a6f154511 (patch) | |
tree | 918c3810144c63a8caccd4eeaeab99803d854a90 | |
parent | ad6b88b481880753e6e374b6a22115a8cda2a6b6 (diff) | |
download | bcm5719-llvm-20c7844f50a2f2c555bfc6d9b3d2376a6f154511.tar.gz bcm5719-llvm-20c7844f50a2f2c555bfc6d9b3d2376a6f154511.zip |
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.
llvm-svn: 350834
-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: |