From 3efb22ef4ccf5811662118ed6a84f830be5db079 Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Fri, 9 May 2014 09:03:42 +0200 Subject: [PATCH] fixed warning --- arangod/VocBase/voc-shaper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arangod/VocBase/voc-shaper.cpp b/arangod/VocBase/voc-shaper.cpp index f4b5d26eb9..d25169675e 100644 --- a/arangod/VocBase/voc-shaper.cpp +++ b/arangod/VocBase/voc-shaper.cpp @@ -2004,7 +2004,7 @@ int TRI_CompareShapeTypes (TRI_doc_mptr_t* leftDocument, result = 0; - for (size_t i = 0; i < numWeightedList; ++i) { + for (int i = 0; i < numWeightedList; ++i) { if (leftWeightedList[i]._weight != rightWeightedList[i]._weight) { result = (leftWeightedList[i]._weight < rightWeightedList[i]._weight ? -1: 1); break;