From 8cfe821e2b0cd8579e7efb5c881f1a76d6ec24b5 Mon Sep 17 00:00:00 2001 From: Graham Lee Date: Mon, 21 May 2012 18:11:55 +0200 Subject: [PATCH] Fix a "comparison between signed and unsigned" problem. --- include/internal/catch_objc.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/catch_objc.hpp b/include/internal/catch_objc.hpp index 6db1b707..99406233 100644 --- a/include/internal/catch_objc.hpp +++ b/include/internal/catch_objc.hpp @@ -129,7 +129,7 @@ namespace Catch { { u_int count; Method* methods = class_copyMethodList( cls, &count ); - for( int m = 0; m < count ; m++ ) { + for( u_int m = 0; m < count ; m++ ) { SEL selector = method_getName(methods[m]); std::string methodName = sel_getName(selector); if( Detail::startsWith( methodName, "Catch_TestCase_" ) ) {