From 9a0c3a49801cd0f84adf3d32d71d05ca45dca9d5 Mon Sep 17 00:00:00 2001 From: Ralf Stephan Date: Tue, 23 May 2006 07:41:37 +0000 Subject: make loop var unsigned etc, remove compiler warnings (bzr r974) --- src/removeoverlap/solve_VPSC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/removeoverlap/solve_VPSC.cpp') diff --git a/src/removeoverlap/solve_VPSC.cpp b/src/removeoverlap/solve_VPSC.cpp index 21865c518..77279c8a8 100644 --- a/src/removeoverlap/solve_VPSC.cpp +++ b/src/removeoverlap/solve_VPSC.cpp @@ -96,7 +96,7 @@ void VPSC::refine() { // Solve shouldn't loop indefinately // ... but just to make sure we limit the number of iterations unsigned maxtries=100; - while(!solved&&maxtries>=0) { + while(!solved&&maxtries>0) { solved=true; maxtries--; for(set::const_iterator i=bs->begin();i!=bs->end();++i) { -- cgit v1.2.3