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...
|
||||
if ((call >= 0) && nt50)
|
||||
SetLayeredWindowAttributesProc((HWND) dwUser, keycolor,
|
||||
call, alphaparam);
|
||||
(BYTE) call, alphaparam);
|
||||
|
||||
// Time is running out...
|
||||
timeleft--;
|
||||
|
@ -254,7 +254,7 @@ void __declspec(dllexport) show(HWND hwndParent, int string_size,
|
|||
"SetLayeredWindowAttributes");
|
||||
// Use win2k method
|
||||
SetLayeredWindowAttributesProc(myWnd, keycolor,
|
||||
(fadein_val > 0) ? (0) : (255),
|
||||
(BYTE) ((fadein_val > 0) ? (0) : (255)),
|
||||
alphaparam);
|
||||
} else if (keycolor != -1) {
|
||||
// transparency mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue