forked from qt-creator/qt-creator
Fix excessive warnings by MSVC 2013 64bit about size_t->int truncation
C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data Change-Id: I91979c685bbbd84359f7f4e19911a21a408f5d23 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -148,7 +148,7 @@ void DebuggerItem::reinitializeFromFile()
|
||||
|
||||
// Version
|
||||
if (ba.startsWith(("lldb version "))) { // Linux typically.
|
||||
int pos1 = strlen("lldb version ");
|
||||
int pos1 = int(strlen("lldb version "));
|
||||
int pos2 = ba.indexOf(' ', pos1);
|
||||
m_version = QString::fromLatin1(ba.mid(pos1, pos2 - pos1));
|
||||
} else if (ba.startsWith("lldb-") || ba.startsWith("LLDB-")) { // Mac typically.
|
||||
|
||||
Reference in New Issue
Block a user