Fix Apple build

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
Kevin Petit
2019-02-20 16:28:12 +00:00
committed by Kévin Petit
parent 45bb1a5672
commit b50002cfd2

View File

@@ -267,7 +267,7 @@ int doTest( const char* name )
gTestFastRelaxed = 0; gTestFastRelaxed = 0;
int isBasicTest = 0; int isBasicTest = 0;
for( j = 0; j < gNumBasicDoubleFuncs; j++ ) { for( size_t j = 0; j < gNumBasicDoubleFuncs; j++ ) {
if( 0 == strcmp(gBasicDoubleFuncs[j], func_data->name ) ) { if( 0 == strcmp(gBasicDoubleFuncs[j], func_data->name ) ) {
isBasicTest = 1; isBasicTest = 1;
break; break;
@@ -277,7 +277,7 @@ int doTest( const char* name )
gTestCount++; gTestCount++;
if( gTestFloat ) if( gTestFloat )
vlog( " " ); vlog( " " );
if( func_data->vtbl->DoubleTestFunc( func_data, gMTdata ) ) if( func_data->vtbl_ptr->DoubleTestFunc( func_data, gMTdata ) )
{ {
gFailCount++; gFailCount++;
error++; error++;