From f75a9cdea3edf7fafabd1e762243f22123f28516 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 92600e9a..c4a0c271 100644 --- a/test_conformance/math_brute_force/main.c +++ b/test_conformance/math_brute_force/main.c @@ -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++;