src/haptic/windows/SDL_dinputhaptic.c
changeset 8976 1a5d959d7b32
parent 8972 dfc759d7486f
child 9070 8973a237f360
     1.1 --- a/src/haptic/windows/SDL_dinputhaptic.c	Sun Jul 06 20:41:39 2014 -0700
     1.2 +++ b/src/haptic/windows/SDL_dinputhaptic.c	Mon Jul 07 10:26:28 2014 -0700
     1.3 @@ -105,7 +105,7 @@
     1.4      instance = GetModuleHandle(NULL);
     1.5      if (instance == NULL) {
     1.6          SDL_SYS_HapticQuit();
     1.7 -        return SDL_SetError("GetModuleHandle() failed with error code %d.",
     1.8 +        return SDL_SetError("GetModuleHandle() failed with error code %lu.",
     1.9              GetLastError());
    1.10      }
    1.11      ret = IDirectInput8_Initialize(dinput, instance, DIRECTINPUT_VERSION);