diff --git a/Telegram/ThirdParty/libtgvoip/os/linux/AudioInputALSA.cpp b/Telegram/ThirdParty/libtgvoip/os/linux/AudioInputALSA.cpp index 027ba155d..aa0e06aca 100644 --- a/Telegram/ThirdParty/libtgvoip/os/linux/AudioInputALSA.cpp +++ b/Telegram/ThirdParty/libtgvoip/os/linux/AudioInputALSA.cpp @@ -71,6 +71,7 @@ void AudioInputALSA::Stop(){ void* AudioInputALSA::StartThread(void* arg){ ((AudioInputALSA*)arg)->RunThread(); + return nullptr; } void AudioInputALSA::RunThread(){ @@ -176,4 +177,4 @@ void AudioInputALSA::EnumerateDevices(std::vector& devs){ } dlclose(lib); -} \ No newline at end of file +} diff --git a/Telegram/ThirdParty/libtgvoip/os/linux/AudioOutputALSA.cpp b/Telegram/ThirdParty/libtgvoip/os/linux/AudioOutputALSA.cpp index bad556179..8717358e4 100644 --- a/Telegram/ThirdParty/libtgvoip/os/linux/AudioOutputALSA.cpp +++ b/Telegram/ThirdParty/libtgvoip/os/linux/AudioOutputALSA.cpp @@ -74,6 +74,7 @@ bool AudioOutputALSA::IsPlaying(){ void* AudioOutputALSA::StartThread(void* arg){ ((AudioOutputALSA*)arg)->RunThread(); + return nullptr; } void AudioOutputALSA::RunThread(){ @@ -179,4 +180,4 @@ void AudioOutputALSA::EnumerateDevices(std::vector& devs){ } dlclose(lib); -} \ No newline at end of file +}