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:
@@ -609,7 +609,7 @@ void LldbEngine::updateBreakpointData(const GdbMi &bkpt, bool added)
|
||||
response.lineNumber = bkpt["line"].toInt();
|
||||
|
||||
GdbMi locations = bkpt["locations"];
|
||||
const int numChild = locations.children().size();
|
||||
const int numChild = int(locations.children().size());
|
||||
if (numChild > 1) {
|
||||
foreach (const GdbMi &location, locations.children()) {
|
||||
const int locid = location["locid"].toInt();
|
||||
|
||||
Reference in New Issue
Block a user