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 c609dc9526
commit f75a9cdea3

View File

@@ -269,7 +269,7 @@ int doTest( const char* name )
gTestFastRelaxed = 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 ) ) {
isBasicTest = 1;
break;
@@ -279,7 +279,7 @@ int doTest( const char* name )
gTestCount++;
if( gTestFloat )
vlog( " " );
if( func_data->vtbl->DoubleTestFunc( func_data, gMTdata ) )
if( func_data->vtbl_ptr->DoubleTestFunc( func_data, gMTdata ) )
{
gFailCount++;
error++;