More work on cleaning out compiler warnings.
--HG-- extra : rebase_source : ab97ecaafc5a22451ea1bf8d4740380cf56f2f98
This commit is contained in:
parent
0cbf1928f9
commit
d7cb5c41ca
2 changed files with 4 additions and 3 deletions
|
@ -557,7 +557,8 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
for (i = 0; i < num_inputs; ++i) {
|
||||
PTOUCHINPUT input = &inputs[i];
|
||||
|
||||
SDL_TouchID touchId = (SDL_TouchID)input->hSource;
|
||||
const SDL_TouchID touchId = (SDL_TouchID)
|
||||
((size_t)input->hSource);
|
||||
if (!SDL_GetTouch(touchId)) {
|
||||
SDL_Touch touch;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue