Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Attempt to fix compiler warning.

Fixes Bugzilla #1784. (or at least the only part of it that was a real bug.)
  • Loading branch information
icculus committed Jul 30, 2013
1 parent 45faf8d commit e4dbee54a03266dbeeb83a043f44fa6ac0fefce5
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit e4dbee5

Please sign in to comment.