mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Fix a "comparison between signed and unsigned" problem.
This commit is contained in:
parent
89d2a3f911
commit
8cfe821e2b
@ -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_" ) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user