Attempt to fix compiler warning.

Fixes Bugzilla #1784. (or at least the only part of it that was a real bug.)
This commit is contained in:
Ryan C. Gordon 2013-07-30 00:17:44 -04:00
parent 56c6743a1b
commit b8198f3b2a

View file

@ -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;