[CYLFRAC] Fix a MSVC-x64 warning about hwnd (#1158)

"...\cylfrac.c(160): warning C4311: 'type cast': pointer truncation from 'HWND' to 'DWORD'".
This commit is contained in:
Serge Gautherie 2018-12-18 13:29:03 +01:00 committed by Hermès BÉLUSCA - MAÏTO
parent 963f715c69
commit 57786d7d3a

View file

@ -157,7 +157,7 @@ LRESULT WINAPI ScreenSaverProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam
GetCursorPos(&initpoint);
InitGL(hwnd);
oldticks = GetTickCount();
TimerID = timeSetEvent (timerdelay, 0, TimeProc, (DWORD)hwnd, TIME_PERIODIC);
TimerID = timeSetEvent(timerdelay, 0, TimeProc, (DWORD_PTR)hwnd, TIME_PERIODIC);
}
break;
case WM_PAINT: