[CYLFRAC] Fix 3 MSVC-x64 warnings about TimeProc() (#1157)
authorSerge Gautherie <32623169+SergeGautherie@users.noreply.github.com>
Tue, 18 Dec 2018 12:30:28 +0000 (13:30 +0100)
committerHermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Tue, 18 Dec 2018 12:30:28 +0000 (13:30 +0100)
- "...\cylfrac.c(160): warning C4028: formal parameter 3 different from declaration"
- "...\cylfrac.c(160): warning C4028: formal parameter 4 different from declaration"
- "...\cylfrac.c(160): warning C4028: formal parameter 5 different from declaration"

CORE-7538

modules/rosapps/applications/screensavers/cylfrac/cylfrac.c

index e981562..be0bb41 100644 (file)
@@ -112,7 +112,7 @@ void DrawScene(HWND hwnd, HDC dc, int ticks)
     EndPaint(hwnd, &ps);
 }
 
     EndPaint(hwnd, &ps);
 }
 
-void CALLBACK TimeProc(UINT uID, UINT uMsg, DWORD dwUser, DWORD dw1, DWORD dw2)
+void CALLBACK TimeProc(UINT uID, UINT uMsg, DWORD_PTR dwUser, DWORD_PTR dw1, DWORD_PTR dw2)
 {
     InvalidateRect((HWND)dwUser, NULL, 0);
 }
 {
     InvalidateRect((HWND)dwUser, NULL, 0);
 }