From 40f10b6765cd439f9a131d3000a30c7bfb59d7f9 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sat, 4 Aug 2012 22:04:41 +0200 Subject: [PATCH] Changed: #1440 Some possible issue with negative values --HG-- branch : build_pipeline_v3 --- code/nel/tools/pipeline/service/build_task_queue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/tools/pipeline/service/build_task_queue.cpp b/code/nel/tools/pipeline/service/build_task_queue.cpp index 4177c3883..81b763faa 100644 --- a/code/nel/tools/pipeline/service/build_task_queue.cpp +++ b/code/nel/tools/pipeline/service/build_task_queue.cpp @@ -407,7 +407,7 @@ void CBuildTaskQueue::sortBuildableTaskListByMostDependents(std::vector::size_type i = 0; i < dependentsCache.size() - 1; ++i) + for (ptrdiff_t i = 0; i < (ptrdiff_t)dependentsCache.size() - 1; ++i) { if (dependentsCache[i + 1] > dependentsCache[i]) {