Fix a "comparison between signed and unsigned" problem.

This commit is contained in:
Graham Lee 2012-05-21 18:11:55 +02:00
parent 89d2a3f911
commit 8cfe821e2b

View File

@ -129,7 +129,7 @@ namespace Catch {
{ {
u_int count; u_int count;
Method* methods = class_copyMethodList( cls, &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]); SEL selector = method_getName(methods[m]);
std::string methodName = sel_getName(selector); std::string methodName = sel_getName(selector);
if( Detail::startsWith( methodName, "Catch_TestCase_" ) ) { if( Detail::startsWith( methodName, "Catch_TestCase_" ) ) {