mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[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:
parent
963f715c69
commit
57786d7d3a
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue