src/video/windows/SDL_windowsevents.c
changeset 5889 c2059a52efa1
parent 5535 96594ac5fd1a
child 6044 35448a5ea044
     1.1 --- a/src/video/windows/SDL_windowsevents.c	Sun Sep 11 03:35:46 2011 -0400
     1.2 +++ b/src/video/windows/SDL_windowsevents.c	Sun Sep 11 04:02:40 2011 -0400
     1.3 @@ -557,7 +557,8 @@
     1.4  				for (i = 0; i < num_inputs; ++i) {
     1.5  					PTOUCHINPUT input = &inputs[i];
     1.6  
     1.7 -					SDL_TouchID touchId = (SDL_TouchID)input->hSource;
     1.8 +					const SDL_TouchID touchId = (SDL_TouchID)
     1.9 +												((size_t)input->hSource);
    1.10  					if (!SDL_GetTouch(touchId)) {
    1.11  						SDL_Touch touch;
    1.12