src/sensor/windows/SDL_windowssensor.c
changeset 13838 02e41b30186f
parent 13776 74f7ed12a32b
child 13839 52dbeb97b294
     1.1 --- a/src/sensor/windows/SDL_windowssensor.c	Wed May 20 16:43:02 2020 -0400
     1.2 +++ b/src/sensor/windows/SDL_windowssensor.c	Wed May 20 16:58:33 2020 -0400
     1.3 @@ -351,7 +351,7 @@
     1.4          SDL_windowscoinit = SDL_TRUE;
     1.5      }
     1.6  
     1.7 -    hr = CoCreateInstance(&CLSID_SensorManager, NULL, CLSCTX_INPROC_SERVER, &IID_SensorManager, &SDL_sensor_manager);
     1.8 +    hr = CoCreateInstance(&CLSID_SensorManager, NULL, CLSCTX_INPROC_SERVER, &IID_SensorManager, (LPVOID *) &SDL_sensor_manager);
     1.9      if (FAILED(hr)) {
    1.10          return SDL_SetError("Couldn't create the sensor manager: 0x%.4x", hr);
    1.11      }