Changed: #1440 Some possible issue with negative values

--HG--
branch : build_pipeline_v3
hg/feature/build_pipeline_v3
kaetemi 12 years ago
parent aa5c4c16f3
commit 40f10b6765

@ -407,7 +407,7 @@ void CBuildTaskQueue::sortBuildableTaskListByMostDependents(std::vector<CBuildTa
do do
{ {
sc = 0; sc = 0;
for (std::vector<uint>::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]) if (dependentsCache[i + 1] > dependentsCache[i])
{ {

Loading…
Cancel
Save