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 1d3d9d10fb
commit ece38070df

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;