Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1e599e7f
Commit
1e599e7f
authored
Mar 22, 2005
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Mar 22, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eliminate useless HeapAlloc() casts.
parent
3ea748b7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
38 deletions
+24
-38
cursoricon.c
windows/cursoricon.c
+2
-2
winproc.c
windows/winproc.c
+22
-36
No files found.
windows/cursoricon.c
View file @
1e599e7f
...
...
@@ -735,8 +735,8 @@ static HICON CURSORICON_CreateFromResource( HMODULE16 hModule, HGLOBAL16 hObj, L
* BYTE icAND[] // DIB bits for AND mask
*/
if
((
pInfo
=
(
BITMAPINFO
*
)
HeapAlloc
(
GetProcessHeap
(),
0
,
max
(
size
,
sizeof
(
BITMAPINFOHEADER
)
+
2
*
sizeof
(
RGBQUAD
)))))
if
((
pInfo
=
HeapAlloc
(
GetProcessHeap
(),
0
,
max
(
size
,
sizeof
(
BITMAPINFOHEADER
)
+
2
*
sizeof
(
RGBQUAD
)))))
{
memcpy
(
pInfo
,
bmi
,
size
);
pInfo
->
bmiHeader
.
biHeight
/=
2
;
...
...
windows/winproc.c
View file @
1e599e7f
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment