mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-04 09:39:42 +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) {
|
||||
AudioThread *th = (AudioThread *)p;
|
||||
return (void *)th->Entry();
|
||||
return reinterpret_cast<void *>( th->Entry() );
|
||||
}
|
||||
void Run() {
|
||||
pthread_create(&mThread, NULL, callback, this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user