Apply upstream fix (c5d2c51bd6) to portaudio

wasapi: Fixed OSVERSIONINFO initialization (patch provided by Carlo Bramini).
This commit is contained in:
Leland Lucius 2020-04-02 09:45:12 -05:00
parent 1437fb38ad
commit 50c30d9ff8
1 changed files with 1 additions and 1 deletions

View File

@ -1087,7 +1087,7 @@ static EWindowsVersion GetWindowsVersion()
// by GetVersion API)
if ((fnRtlGetVersion = (LPFN_RTLGETVERSION)GetProcAddress(GetModuleHandleA("ntdll"), "RtlGetVersion")) != NULL)
{
OSVERSIONINFOW ver = { sizeof(OSVERSIONINFOW), 0, 0, 0, {0} };
OSVERSIONINFOW ver = { sizeof(OSVERSIONINFOW), 0, 0, 0, 0, {0} };
PRINT(("WASAPI: getting Windows version with RtlGetVersion()\n"));