summaryrefslogtreecommitdiff
path: root/src/cppunit/ProtectorChain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cppunit/ProtectorChain.cpp')
-rw-r--r--src/cppunit/ProtectorChain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cppunit/ProtectorChain.cpp b/src/cppunit/ProtectorChain.cpp
index 8cede2b..f528341 100644
--- a/src/cppunit/ProtectorChain.cpp
+++ b/src/cppunit/ProtectorChain.cpp
@@ -76,7 +76,7 @@ ProtectorChain::protect( const Functor &functor,
const Functor &outermostFunctor = *functors.back();
bool succeed = outermostFunctor();
- for ( int deletingIndex = 0; deletingIndex < m_protectors.size(); ++deletingIndex )
+ for ( unsigned int deletingIndex = 0; deletingIndex < m_protectors.size(); ++deletingIndex )
delete functors[deletingIndex];
return succeed;