diff options
author | Ryan C. Gordon <icculus@icculus.org> | 2013-07-30 00:17:44 -0400 |
---|---|---|
committer | Ryan C. Gordon <icculus@icculus.org> | 2013-07-30 00:17:44 -0400 |
commit | ece38070dfc191c8702552e8846a8a2cbba95a97 (patch) | |
tree | feee3402d1a12e5a859af155ab6ebac0ef0cebc0 /src | |
parent | 1d3d9d10fb66aaa46fa1ff71e6eb7e8b5ded9525 (diff) |
Attempt to fix compiler warning.
Fixes Bugzilla #1784. (or at least the only part of it that was a real bug.)
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; |