mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
fix "converting to non-pointer type 'pthread_t'" compiler warning
pthread_t is - at least on our platform - not a pointer type, but basically an int don't assign NULL but 0 to fix that warning git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1440 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -174,7 +174,7 @@ int dvbsub_close()
|
||||
pthread_mutex_unlock(&readerMutex);
|
||||
|
||||
pthread_join(threadReader, NULL);
|
||||
threadReader = NULL;
|
||||
threadReader = 0;
|
||||
}
|
||||
if(threadDvbsub) {
|
||||
dvbsub_running = false;
|
||||
@@ -184,7 +184,7 @@ int dvbsub_close()
|
||||
pthread_mutex_unlock(&packetMutex);
|
||||
|
||||
pthread_join(threadDvbsub, NULL);
|
||||
threadDvbsub = NULL;
|
||||
threadDvbsub = 0;
|
||||
}
|
||||
printf("[dvb-sub] stopped\n");
|
||||
|
||||
|
Reference in New Issue
Block a user