Module: wine Branch: master Commit: 63174c2f3616af55449a861cf24557d0ac9ab85d URL: http://source.winehq.org/git/wine.git/?a=commit;h=63174c2f3616af55449a861cf2...
Author: Michael Stefaniuc mstefani@redhat.de Date: Wed Feb 18 00:08:39 2015 +0100
user32: IDI_WINLOGO is already an int resource (PVS-Studio).
---
dlls/user32/mdi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/user32/mdi.c b/dlls/user32/mdi.c index 8ef7214..11d5679 100644 --- a/dlls/user32/mdi.c +++ b/dlls/user32/mdi.c @@ -866,7 +866,8 @@ static BOOL MDI_AugmentFrameMenu( HWND frame, HWND hChild ) if (!hIcon) hIcon = (HICON)SendMessageW(hChild, WM_GETICON, ICON_BIG, 0); if (!hIcon) - hIcon = LoadImageW(0, MAKEINTRESOURCEW(IDI_WINLOGO), IMAGE_ICON, GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), LR_DEFAULTCOLOR); + hIcon = LoadImageW(0, (LPWSTR)IDI_WINLOGO, IMAGE_ICON, GetSystemMetrics(SM_CXSMICON), + GetSystemMetrics(SM_CYSMICON), LR_DEFAULTCOLOR); if (hIcon) { HDC hMemDC;