diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-11-22 17:11:04 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-11-22 17:11:04 +0100 |
commit | c50513accdb3d5d0e5560a4899b1f45569aeb46f (patch) | |
tree | f2986ef3e6dc2fb1bd0a37f85619c24d7da11785 /thread.c | |
parent | fd464518b660fb2b0a2eb98d744e3ac145aefdd0 (diff) | |
download | vdr-c50513accdb3d5d0e5560a4899b1f45569aeb46f.tar.gz vdr-c50513accdb3d5d0e5560a4899b1f45569aeb46f.tar.bz2 |
Typecast for gcc-2.96 (under Mandrake)
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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()??? } |