mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 09:20:16 +01:00
reinterpret_cast not C-style cast. (The cast value is always 0).
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user