diff options
author | Zachary Turner <zturner@google.com> | 2017-03-17 16:32:43 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-03-17 16:32:43 +0000 |
commit | e28558f0b03ac07feea96822e98c75bb0c91d6d7 (patch) | |
tree | 32aa3f87a300bd5863f0bfc4098d1cf70d6f4625 /lldb/source | |
parent | a0f96be9b14bc6c1cc8226658a6bedf4b4fc3547 (diff) | |
download | bcm5719-llvm-e28558f0b03ac07feea96822e98c75bb0c91d6d7.tar.gz bcm5719-llvm-e28558f0b03ac07feea96822e98c75bb0c91d6d7.zip |
Fix some signed/unsigned comparison warnings.
Patch by Hugh Bellamy
Differential Revision: https://reviews.llvm.org/D30926
llvm-svn: 298099
Diffstat (limited to 'lldb/source')
-rw-r--r-- | lldb/source/Core/FormatEntity.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Core/FormatEntity.cpp b/lldb/source/Core/FormatEntity.cpp index e2b246d6764..89576237a2e 100644 --- a/lldb/source/Core/FormatEntity.cpp +++ b/lldb/source/Core/FormatEntity.cpp @@ -64,14 +64,14 @@ enum FileKind { FileError = 0, Basename, Dirname, Fullpath }; #define ENTRY_CHILDREN(n, t, f, c) \ { \ n, nullptr, FormatEntity::Entry::Type::t, \ - FormatEntity::Entry::FormatType::f, 0, llvm::array_lengthof(c), c, \ - false \ + FormatEntity::Entry::FormatType::f, 0, \ + static_cast<uint32_t>(llvm::array_lengthof(c)), c, false \ } #define ENTRY_CHILDREN_KEEP_SEP(n, t, f, c) \ { \ n, nullptr, FormatEntity::Entry::Type::t, \ - FormatEntity::Entry::FormatType::f, 0, llvm::array_lengthof(c), c, \ - true \ + FormatEntity::Entry::FormatType::f, 0, \ + static_cast<uint32_t>(llvm::array_lengthof(c)), c, true \ } #define ENTRY_STRING(n, s) \ { \ |