mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-06 15:37:44 +02:00
reinterpret_cast not C-style cast. (The cast value is always 0).
This commit is contained in:
parent
7d0b4c582a
commit
41d0ac1b65
@ -890,7 +890,7 @@ class AudioThread {
|
|||||||
}
|
}
|
||||||
static void *callback(void *p) {
|
static void *callback(void *p) {
|
||||||
AudioThread *th = (AudioThread *)p;
|
AudioThread *th = (AudioThread *)p;
|
||||||
return (void *)th->Entry();
|
return reinterpret_cast<void *>( th->Entry() );
|
||||||
}
|
}
|
||||||
void Run() {
|
void Run() {
|
||||||
pthread_create(&mThread, NULL, callback, this);
|
pthread_create(&mThread, NULL, callback, this);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user