mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Typecast for gcc-2.96 (under Mandrake)
This commit is contained in:
parent
fd464518b6
commit
c50513accd
4
thread.c
4
thread.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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"
|
#include "thread.h"
|
||||||
@ -49,7 +49,7 @@ bool cThread::Start(void)
|
|||||||
if (!running) {
|
if (!running) {
|
||||||
running = true;
|
running = true;
|
||||||
parentPid = getpid();
|
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()???
|
return true; //XXX return value of pthread_create()???
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user