mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
fixing type.
llvm-svn: 257238
This commit is contained in:
parent
8100f735c4
commit
6e3d95bf83
@ -36,7 +36,8 @@ void DIPrinter::printContext(std::string FileName, int64_t Line) {
|
||||
return;
|
||||
|
||||
std::unique_ptr<MemoryBuffer> Buf = std::move(BufOrErr.get());
|
||||
int64_t FirstLine = std::max((int64_t)1, Line - PrintSourceContext / 2);
|
||||
int64_t FirstLine =
|
||||
std::max(static_cast<int64_t>(1), Line - PrintSourceContext / 2);
|
||||
int64_t LastLine = FirstLine + PrintSourceContext;
|
||||
size_t MaxLineNumberWidth = std::ceil(std::log10(LastLine));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user