src/haptic/windows/SDL_dinputhaptic.c
changeset 13838 02e41b30186f
parent 13789 a359f4f93439
child 13914 348d0896fc9e
     1.1 --- a/src/haptic/windows/SDL_dinputhaptic.c	Wed May 20 16:43:02 2020 -0400
     1.2 +++ b/src/haptic/windows/SDL_dinputhaptic.c	Wed May 20 16:58:33 2020 -0400
     1.3 @@ -87,7 +87,7 @@
     1.4      coinitialized = SDL_TRUE;
     1.5  
     1.6      ret = CoCreateInstance(&CLSID_DirectInput8, NULL, CLSCTX_INPROC_SERVER,
     1.7 -        &IID_IDirectInput8, (LPVOID)& dinput);
     1.8 +        &IID_IDirectInput8, (LPVOID *) &dinput);
     1.9      if (FAILED(ret)) {
    1.10          SDL_SYS_HapticQuit();
    1.11          return DI_SetError("CoCreateInstance", ret);