diff options
author | Zachary Turner <zturner@google.com> | 2016-10-05 17:07:34 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-10-05 17:07:34 +0000 |
commit | 5a8ad4591bb688760c018b4f2e3ec51b3bb3c783 (patch) | |
tree | 31b2c619792632567e165cf0d45e710f350c9fce /lldb/source/Core/SourceManager.cpp | |
parent | d6ef28462bd17c39edef192a1298060910b0e15b (diff) | |
download | bcm5719-llvm-5a8ad4591bb688760c018b4f2e3ec51b3bb3c783.tar.gz bcm5719-llvm-5a8ad4591bb688760c018b4f2e3ec51b3bb3c783.zip |
Make lldb -Werror clean on Windows.
Differential Revision: https://reviews.llvm.org/D25247
llvm-svn: 283344
Diffstat (limited to 'lldb/source/Core/SourceManager.cpp')
-rw-r--r-- | lldb/source/Core/SourceManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/SourceManager.cpp b/lldb/source/Core/SourceManager.cpp index 648d20bcfa4..f5b56f30768 100644 --- a/lldb/source/Core/SourceManager.cpp +++ b/lldb/source/Core/SourceManager.cpp @@ -654,7 +654,7 @@ bool SourceManager::File::CalculateLineOffsets(uint32_t line) { } } if (!m_offsets.empty()) { - if (m_offsets.back() < end - start) + if (m_offsets.back() < size_t(end - start)) m_offsets.push_back(end - start); } return true; |