diff --git a/src/libs/qtcreatorcdbext/containers.cpp b/src/libs/qtcreatorcdbext/containers.cpp
index 37de100fcb671a7bb98c39d060b033facb9f5bc2..58e87b0a2caae41f093cebae073e2f138f95b54a 100644
--- a/src/libs/qtcreatorcdbext/containers.cpp
+++ b/src/libs/qtcreatorcdbext/containers.cpp
@@ -949,7 +949,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)
     const std::string nodeType = qHashNodeType(v, "Node");
     const std::string nodePtrType = nodeType +  " *";