avoid cast warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5050 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
ab76b93ed0
commit
f6e58f133a
1 changed files with 2 additions and 2 deletions
|
@ -163,7 +163,7 @@ void CALLBACK TimeProc(UINT uID,
|
||||||
// Transparency value aquired, and could be set...
|
// Transparency value aquired, and could be set...
|
||||||
if ((call >= 0) && nt50)
|
if ((call >= 0) && nt50)
|
||||||
SetLayeredWindowAttributesProc((HWND) dwUser, keycolor,
|
SetLayeredWindowAttributesProc((HWND) dwUser, keycolor,
|
||||||
call, alphaparam);
|
(BYTE) call, alphaparam);
|
||||||
|
|
||||||
// Time is running out...
|
// Time is running out...
|
||||||
timeleft--;
|
timeleft--;
|
||||||
|
@ -254,7 +254,7 @@ void __declspec(dllexport) show(HWND hwndParent, int string_size,
|
||||||
"SetLayeredWindowAttributes");
|
"SetLayeredWindowAttributes");
|
||||||
// Use win2k method
|
// Use win2k method
|
||||||
SetLayeredWindowAttributesProc(myWnd, keycolor,
|
SetLayeredWindowAttributesProc(myWnd, keycolor,
|
||||||
(fadein_val > 0) ? (0) : (255),
|
(BYTE) ((fadein_val > 0) ? (0) : (255)),
|
||||||
alphaparam);
|
alphaparam);
|
||||||
} else if (keycolor != -1) {
|
} else if (keycolor != -1) {
|
||||||
// transparency mode
|
// transparency mode
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue