diff options
Diffstat (limited to 'plugins/SplashScreen/src/splash.cpp')
-rw-r--r-- | plugins/SplashScreen/src/splash.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SplashScreen/src/splash.cpp b/plugins/SplashScreen/src/splash.cpp index df0f3367e9..6550f5fda0 100644 --- a/plugins/SplashScreen/src/splash.cpp +++ b/plugins/SplashScreen/src/splash.cpp @@ -263,8 +263,8 @@ void __cdecl SplashThread(void *arg) blend.SourceConstantAlpha = 255;
UpdateLayeredWindow(hwndSplash, NULL, &ptDst, &sz, SplashBmp->getDC(), &ptSrc, 0xffffffff, &blend, LWA_ALPHA);
- if (DWORD(arg) > 0) {
- if (SetTimer(hwndSplash, 6, DWORD(arg), 0)) {
+ if (DWORD_PTR(arg) > 0) {
+ if (SetTimer(hwndSplash, 6, DWORD_PTR(arg), 0)) {
#ifdef _DEBUG
logMessage(_T("Timer TimeToShow"), _T("set"));
#endif
@@ -338,4 +338,4 @@ BOOL ShowSplash(BOOL bpreview) logMessage(_T("Thread"), _T("end"));
#endif
return 1;
-}
\ No newline at end of file +}
|