Commit 20e279b2 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Revert "Cdbext: Fix compile Warning"

It triggered another warning for comparing signed and unsigned.

Cast to int instead.

This reverts commit 5fd3fa91

.

Change-Id: I2d239c42da7ba5e1d1e3bc9e2e737eac6e438d9c
Reviewed-by: default avatarDavid Schulz <david.schulz@theqtcompany.com>
parent 4dfb56bb
......@@ -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()));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment