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:
@@ -3900,7 +3900,7 @@ void GdbEngine::handleFetchMemory(const DebuggerResponse &response, MemoryAgentC
|
||||
return;
|
||||
GdbMi memory0 = memory.children().at(0); // we asked for only one 'row'
|
||||
GdbMi data = memory0["data"];
|
||||
for (int i = 0, n = data.children().size(); i != n; ++i) {
|
||||
for (int i = 0, n = int(data.children().size()); i != n; ++i) {
|
||||
const GdbMi &child = data.children().at(i);
|
||||
bool ok = true;
|
||||
unsigned char c = '?';
|
||||
|
||||
Reference in New Issue
Block a user