From c50513accdb3d5d0e5560a4899b1f45569aeb46f Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Wed, 22 Nov 2000 17:11:04 +0100 Subject: Typecast for gcc-2.96 (under Mandrake) --- thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'thread.c') diff --git a/thread.c b/thread.c index 67b5ab96..8705fe2f 100644 --- a/thread.c +++ b/thread.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: thread.c 1.4 2000/11/14 18:38:25 kls Exp $ + * $Id: thread.c 1.5 2000/11/22 17:11:04 kls Exp $ */ #include "thread.h" @@ -49,7 +49,7 @@ bool cThread::Start(void) if (!running) { running = true; parentPid = getpid(); - pthread_create(&thread, NULL, &StartThread, (void *)this); + pthread_create(&thread, NULL, (void *(*) (void *))&StartThread, (void *)this); } return true; //XXX return value of pthread_create()??? } -- cgit v1.2.3