From b50002cfd201a8c80838efe3c59317f25433a6f1 Mon Sep 17 00:00:00 2001 From: Kevin Petit Date: Wed, 20 Feb 2019 16:28:12 +0000 Subject: [PATCH] Fix Apple build Signed-off-by: Kevin Petit --- test_conformance/math_brute_force/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_conformance/math_brute_force/main.c b/test_conformance/math_brute_force/main.c index 1320c985..8008efcb 100644 --- a/test_conformance/math_brute_force/main.c +++ b/test_conformance/math_brute_force/main.c @@ -267,7 +267,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; @@ -277,7 +277,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++;