From 00c78fb9eb30356c03bcc822bb14a2079e725eb3 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 19 Aug 2014 10:35:09 +0000 Subject: multistresstest.c: fix a few warnings on Posix git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2487 4e78687f-474d-0410-85f9-8d5e500ac6b2 --- src/multistresstest.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/multistresstest.c b/src/multistresstest.c index a77faf75..8ad35e31 100644 --- a/src/multistresstest.c +++ b/src/multistresstest.c @@ -278,6 +278,7 @@ static void *PosixTestThread( void *pData ) { TestThread(); + return NULL; } #endif @@ -364,7 +365,7 @@ int main( int argc, char **argv ) } #else - + { pthread_t ahThread[num_threads]; pthread_attr_t hThreadAttr; @@ -376,14 +377,14 @@ int main( int argc, char **argv ) active_thread_count++; pthread_create( &(ahThread[i]), &hThreadAttr, - TestThread, NULL ); + PosixTestThread, NULL ); } printf( "%d test threads launched.\n", num_threads ); while( active_thread_count > 0 ) sleep( 1 ); - + } #endif printf( "all tests complete.\n" ); -- cgit v1.2.3