aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Debugger/SourceFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Debugger/SourceFile.h')
-rw-r--r--include/llvm/Debugger/SourceFile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Debugger/SourceFile.h b/include/llvm/Debugger/SourceFile.h
index 66783ce088..249435af8b 100644
--- a/include/llvm/Debugger/SourceFile.h
+++ b/include/llvm/Debugger/SourceFile.h
@@ -74,7 +74,7 @@ namespace llvm {
///
unsigned getNumLines() const {
if (LineOffset.empty()) calculateLineOffsets();
- return LineOffset.size();
+ return static_cast<unsigned>(LineOffset.size());
}
private: