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
f59c8a68
Commit
f59c8a68
authored
Jun 27, 2007
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Remove superfluous casts of void pointers to other pointer types.
parent
0326da9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
msc.c
dlls/dbghelp/msc.c
+7
-8
No files found.
dlls/dbghelp/msc.c
View file @
f59c8a68
...
...
@@ -342,14 +342,13 @@ static int codeview_add_type(unsigned int typeno, struct symt* dt)
{
cv_current_module
->
num_defined_types
+=
0x100
;
if
(
cv_current_module
->
defined_types
)
cv_current_module
->
defined_types
=
(
struct
symt
**
)
HeapReAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
cv_current_module
->
defined_types
,
cv_current_module
->
defined_types
=
HeapReAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
cv_current_module
->
defined_types
,
cv_current_module
->
num_defined_types
*
sizeof
(
struct
symt
*
));
else
cv_current_module
->
defined_types
=
(
struct
symt
**
)
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
cv_current_module
->
num_defined_types
*
sizeof
(
struct
symt
*
));
cv_current_module
->
defined_types
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
cv_current_module
->
num_defined_types
*
sizeof
(
struct
symt
*
));
if
(
cv_current_module
->
defined_types
==
NULL
)
return
FALSE
;
}
...
...
@@ -1124,8 +1123,8 @@ static struct codeview_linetab* codeview_snarf_linetab(struct module* module,
* There is one header for each segment, so that we can reach in
* and pull bits as required.
*/
lt_hdr
=
(
struct
codeview_linetab
*
)
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
(
nseg
+
1
)
*
sizeof
(
*
lt_hdr
));
lt_hdr
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
(
nseg
+
1
)
*
sizeof
(
*
lt_hdr
));
if
(
lt_hdr
==
NULL
)
{
goto
leave
;
...
...
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