From 9dd457a6787427a95bfd36aa3b9f14dce05f9cbf Mon Sep 17 00:00:00 2001
From: Niels Weber <niels.weber@theqtcompany.com>
Date: Fri, 16 Oct 2015 10:11:10 +0200
Subject: [PATCH] Debugger: Fix a warning

Followup to 01006580c10a4b9f8be689af61e90cd0f9134688

Change-Id: I4acd54472df03c019493426303d5a52a9902f9fd
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
---
 src/plugins/debugger/debuggerprotocol.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/debugger/debuggerprotocol.cpp b/src/plugins/debugger/debuggerprotocol.cpp
index 763c9477c6..7f3525b0a0 100644
--- a/src/plugins/debugger/debuggerprotocol.cpp
+++ b/src/plugins/debugger/debuggerprotocol.cpp
@@ -267,7 +267,7 @@ static QByteArray ind(int indent)
 
 void GdbMi::dumpChildren(QByteArray * str, bool multiline, int indent) const
 {
-    for (size_t i = 0; i < m_children.size(); ++i) {
+    for (int i = 0; i < m_children.size(); ++i) {
         if (i != 0) {
             *str += ',';
             if (multiline)
-- 
GitLab