Commit d7cb5c41 authored by Ryan C. Gordon's avatar Ryan C. Gordon

More work on cleaning out compiler warnings.

--HG--
extra : rebase_source : ab97ecaafc5a22451ea1bf8d4740380cf56f2f98
parent 0cbf1928
......@@ -77,7 +77,7 @@ typedef struct ThreadStartParms
pfnSDL_CurrentEndThread pfnCurrentEndThread;
} tThreadStartParms, *pThreadStartParms;
static DWORD __stdcall
static unsigned __stdcall
RunThread(void *data)
{
pThreadStartParms pThreadParms = (pThreadStartParms) data;
......@@ -115,7 +115,7 @@ SDL_SYS_CreateThread(SDL_Thread * thread, void *args)
pfnSDL_CurrentEndThread pfnEndThread = _endthreadex;
#endif
#endif /* SDL_PASSED_BEGINTHREAD_ENDTHREAD */
unsigned threadid;
DWORD threadid = 0;
pThreadStartParms pThreadParms =
(pThreadStartParms) SDL_malloc(sizeof(tThreadStartParms));
if (!pThreadParms) {
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment