diff options
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; |