src/video/windows/SDL_windowsevents.c
changeset 7543 a96f309059a1
parent 7295 737cc5bad795
child 7561 65f2b183e2aa
     1.1 --- a/src/video/windows/SDL_windowsevents.c	Sun Jul 28 11:24:16 2013 -0700
     1.2 +++ b/src/video/windows/SDL_windowsevents.c	Tue Jul 30 00:17:44 2013 -0400
     1.3 @@ -701,7 +701,7 @@
     1.4                  for (i = 0; i < num_inputs; ++i) {
     1.5                      PTOUCHINPUT input = &inputs[i];
     1.6  
     1.7 -                    const SDL_TouchID touchId = (SDL_TouchID)input->hSource;
     1.8 +                    const SDL_TouchID touchId = (SDL_TouchID)((size_t)input->hSource);
     1.9                      if (!SDL_GetTouch(touchId)) {
    1.10                          if (SDL_AddTouch(touchId, "") < 0) {
    1.11                              continue;