src/audio/wasapi/SDL_wasapi_win32.c
changeset 13838 02e41b30186f
parent 13696 ea20a7434b98
     1.1 --- a/src/audio/wasapi/SDL_wasapi_win32.c	Wed May 20 16:43:02 2020 -0400
     1.2 +++ b/src/audio/wasapi/SDL_wasapi_win32.c	Wed May 20 16:58:33 2020 -0400
     1.3 @@ -247,7 +247,7 @@
     1.4          return SDL_SetError("WASAPI: CoInitialize() failed");
     1.5      }
     1.6  
     1.7 -    ret = CoCreateInstance(&SDL_CLSID_MMDeviceEnumerator, NULL, CLSCTX_INPROC_SERVER, &SDL_IID_IMMDeviceEnumerator, (LPVOID) &enumerator);
     1.8 +    ret = CoCreateInstance(&SDL_CLSID_MMDeviceEnumerator, NULL, CLSCTX_INPROC_SERVER, &SDL_IID_IMMDeviceEnumerator, (LPVOID *) &enumerator);
     1.9      if (FAILED(ret)) {
    1.10          WIN_CoUninitialize();
    1.11          return WIN_SetErrorFromHRESULT("WASAPI CoCreateInstance(MMDeviceEnumerator)", ret);