diff options
| author | Even Rouault <even.rouault@mines-paris.org> | 2014-08-19 10:35:09 +0000 |
|---|---|---|
| committer | Even Rouault <even.rouault@mines-paris.org> | 2014-08-19 10:35:09 +0000 |
| commit | 00c78fb9eb30356c03bcc822bb14a2079e725eb3 (patch) | |
| tree | 2e8c7b072be247330b392ab33d65d247bd68a83a /src | |
| parent | 4c03b0c09614c26e289f73aeaff7536c53f92fba (diff) | |
| download | PROJ-00c78fb9eb30356c03bcc822bb14a2079e725eb3.tar.gz PROJ-00c78fb9eb30356c03bcc822bb14a2079e725eb3.zip | |
multistresstest.c: fix a few warnings on Posix
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2487 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src')
| -rw-r--r-- | src/multistresstest.c | 7 |
1 files changed, 4 insertions, 3 deletions
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" ); |
