diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/video/windows/SDL_windowsevents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/windows/SDL_windowsevents.c b/src/video/windows/SDL_windowsevents.c index ca799ff803..78d31d54ed 100644 --- a/src/video/windows/SDL_windowsevents.c +++ b/src/video/windows/SDL_windowsevents.c @@ -701,7 +701,7 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) for (i = 0; i < num_inputs; ++i) { PTOUCHINPUT input = &inputs[i]; - const SDL_TouchID touchId = (SDL_TouchID)input->hSource; + const SDL_TouchID touchId = (SDL_TouchID)((size_t)input->hSource); if (!SDL_GetTouch(touchId)) { if (SDL_AddTouch(touchId, "") < 0) { continue; |