summaryrefslogtreecommitdiffstats
path: root/lldb/source/Symbol/SymbolContext.cpp
diff options
context:
space:
mode:
authorDeepak Panickal <deepak@codeplay.com>2014-03-03 15:39:47 +0000
committerDeepak Panickal <deepak@codeplay.com>2014-03-03 15:39:47 +0000
commit99fbc07600b16093ac2875a461a1c086ae1db5ee (patch)
treecaa3aa183d1a4d2acc0021abc38de58c260fb9e7 /lldb/source/Symbol/SymbolContext.cpp
parent6fa32b6f545477a2d539499cb3c8702c3a47f870 (diff)
downloadbcm5719-llvm-99fbc07600b16093ac2875a461a1c086ae1db5ee.tar.gz
bcm5719-llvm-99fbc07600b16093ac2875a461a1c086ae1db5ee.zip
Fix Windows build using portable types for formatting the log outputs
llvm-svn: 202723
Diffstat (limited to 'lldb/source/Symbol/SymbolContext.cpp')
-rw-r--r--lldb/source/Symbol/SymbolContext.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lldb/source/Symbol/SymbolContext.cpp b/lldb/source/Symbol/SymbolContext.cpp
index f1e581f7161..0a350a2e1c1 100644
--- a/lldb/source/Symbol/SymbolContext.cpp
+++ b/lldb/source/Symbol/SymbolContext.cpp
@@ -910,15 +910,15 @@ SymbolContextSpecifier::GetDescription (Stream *s, lldb::DescriptionLevel level)
s->Printf ("File: %s", path_str);
if (m_type == eLineStartSpecified)
{
- s->Printf (" from line %zu", m_start_line);
+ s->Printf (" from line %" PRId64 "", m_start_line);
if (m_type == eLineEndSpecified)
- s->Printf ("to line %zu", m_end_line);
+ s->Printf ("to line %" PRId64 "", m_end_line);
else
s->Printf ("to end");
}
else if (m_type == eLineEndSpecified)
{
- s->Printf (" from start to line %zu", m_end_line);
+ s->Printf (" from start to line %" PRId64 "", m_end_line);
}
s->Printf (".\n");
}
@@ -926,16 +926,16 @@ SymbolContextSpecifier::GetDescription (Stream *s, lldb::DescriptionLevel level)
if (m_type == eLineStartSpecified)
{
s->Indent();
- s->Printf ("From line %zu", m_start_line);
+ s->Printf ("From line %" PRId64 "", m_start_line);
if (m_type == eLineEndSpecified)
- s->Printf ("to line %zu", m_end_line);
+ s->Printf ("to line %" PRId64 "", m_end_line);
else
s->Printf ("to end");
s->Printf (".\n");
}
else if (m_type == eLineEndSpecified)
{
- s->Printf ("From start to line %zu.\n", m_end_line);
+ s->Printf ("From start to line %" PRId64 ".\n", m_end_line);
}
if (m_type == eFunctionSpecified)
OpenPOWER on IntegriCloud