summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-11-22 17:11:04 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2000-11-22 17:11:04 +0100
commitc50513accdb3d5d0e5560a4899b1f45569aeb46f (patch)
treef2986ef3e6dc2fb1bd0a37f85619c24d7da11785 /thread.c
parentfd464518b660fb2b0a2eb98d744e3ac145aefdd0 (diff)
downloadvdr-c50513accdb3d5d0e5560a4899b1f45569aeb46f.tar.gz
vdr-c50513accdb3d5d0e5560a4899b1f45569aeb46f.tar.bz2
Typecast for gcc-2.96 (under Mandrake)
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c4
1 files changed, 2 insertions, 2 deletions
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()???
}