From fa1391b0fac2e414d160d8095464c90405979873 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 3 May 2011 13:18:29 +0000 Subject: [PATCH] 0021255: [CEA 466] compilation with gcc 4.6.0 without warnings int bid = 0; pthread_create(&traceThread, NULL, - FileTraceCollector::run, (void *)bid); + FileTraceCollector::run, &bid); --- src/SALOMELocalTrace/FileTraceCollector.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SALOMELocalTrace/FileTraceCollector.cxx b/src/SALOMELocalTrace/FileTraceCollector.cxx index 55069fded..0478ef326 100644 --- a/src/SALOMELocalTrace/FileTraceCollector.cxx +++ b/src/SALOMELocalTrace/FileTraceCollector.cxx @@ -65,7 +65,7 @@ BaseTraceCollector* FileTraceCollector::instance(const char *fileName) pthread_t traceThread; int bid = 0; pthread_create(&traceThread, NULL, - FileTraceCollector::run, (void *)bid); + FileTraceCollector::run, &bid); sem_wait(&_sem); _singleton = myInstance; // _singleton known only when init done DEVTRACE("FileTraceCollector:: instance()-end"); -- 2.39.2