forked from qt-creator/qt-creator
Revert "Cdbext: Fix compile Warning"
It triggered another warning for comparing signed and unsigned.
Cast to int instead.
This reverts commit 5fd3fa917d.
Change-Id: I2d239c42da7ba5e1d1e3bc9e2e737eac6e438d9c
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
4dfb56bb10
commit
20e279b291
@@ -989,7 +989,7 @@ static inline AbstractSymbolGroupNodePtrVector qMap5Nodes(const SymbolGroupValue
|
||||
return AbstractSymbolGroupNodePtrVector();
|
||||
if (SymbolGroupValue::verbose > 1)
|
||||
nodeTree->debug(DebugPrint(), debugQMap5Node);
|
||||
int i = 0;
|
||||
VectorIndexType i = 0;
|
||||
// Finally convert them into real nodes 'QHashNode<K,V> (potentially expensive)
|
||||
AbstractSymbolGroupNodePtrVector result;
|
||||
result.reserve(count);
|
||||
@@ -1001,7 +1001,7 @@ static inline AbstractSymbolGroupNodePtrVector qMap5Nodes(const SymbolGroupValue
|
||||
delete nodeTree;
|
||||
return AbstractSymbolGroupNodePtrVector();
|
||||
}
|
||||
result.push_back(MapNodeSymbolGroupNode::create(i, key.address(),
|
||||
result.push_back(MapNodeSymbolGroupNode::create(int(i), key.address(),
|
||||
nodeType,
|
||||
key.node(), value.node()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user