Module: wine Branch: master Commit: da8bb1c4a5565b332159c8b9ee3d3b4378b80e57 URL: http://source.winehq.org/git/wine.git/?a=commit;h=da8bb1c4a5565b332159c8b9ee... Author: Bruno Jesus <00cpxxx(a)gmail.com> Date: Sat Jan 17 20:51:07 2015 -0200 user32: Allocate memory based on HICON instead of DWORD to fix 64 bit problems. --- dlls/user32/cursoricon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user32/cursoricon.c b/dlls/user32/cursoricon.c index 3c31894..8504bdc 100644 --- a/dlls/user32/cursoricon.c +++ b/dlls/user32/cursoricon.c @@ -1165,7 +1165,7 @@ static HCURSOR CURSORICON_CreateIconFromANI( const BYTE *bits, DWORD bits_size, cursor = alloc_icon_handle( TRUE, header.num_steps ); if (!cursor) return 0; - frames = HeapAlloc( GetProcessHeap(), 0, sizeof(DWORD)*header.num_frames ); + frames = HeapAlloc( GetProcessHeap(), 0, sizeof(*frames) * header.num_frames ); if (!frames) { free_icon_handle( cursor );