src/joystick/windows/SDL_dinputjoystick.c
changeset 13838 02e41b30186f
parent 13778 6c6a14452dcf
child 13914 348d0896fc9e
     1.1 --- a/src/joystick/windows/SDL_dinputjoystick.c	Wed May 20 16:43:02 2020 -0400
     1.2 +++ b/src/joystick/windows/SDL_dinputjoystick.c	Wed May 20 16:58:33 2020 -0400
     1.3 @@ -509,7 +509,7 @@
     1.4      coinitialized = SDL_TRUE;
     1.5  
     1.6      result = CoCreateInstance(&CLSID_DirectInput8, NULL, CLSCTX_INPROC_SERVER,
     1.7 -        &IID_IDirectInput8, (LPVOID)&dinput);
     1.8 +        &IID_IDirectInput8, (LPVOID *)&dinput);
     1.9  
    1.10      if (FAILED(result)) {
    1.11          return SetDIerror("CoCreateInstance", result);