Merge pull request #84 from iamleeg/master

Comparison between signed and unsigned
This commit is contained in:
Phil Nash 2012-05-21 10:34:42 -07:00
commit 2783842ca4

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_" ) ) {