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
d28c3ca6
Commit
d28c3ca6
authored
Jun 27, 2007
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Remove superfluous casts of void pointers to other pointer types.
parent
6644263e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
dictionary.c
dlls/ole32/dictionary.c
+2
-2
marshal.c
dlls/ole32/tests/marshal.c
+1
-1
No files found.
dlls/ole32/dictionary.c
View file @
d28c3ca6
...
@@ -126,8 +126,8 @@ void dictionary_insert(struct dictionary *d, const void *k, const void *v)
...
@@ -126,8 +126,8 @@ void dictionary_insert(struct dictionary *d, const void *k, const void *v)
}
}
else
else
{
{
struct
dictionary_entry
*
elem
=
(
struct
dictionary_entry
*
)
struct
dictionary_entry
*
elem
=
HeapAlloc
(
GetProcessHeap
(),
0
,
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
struct
dictionary_entry
));
sizeof
(
struct
dictionary_entry
));
if
(
!
elem
)
if
(
!
elem
)
return
;
return
;
...
...
dlls/ole32/tests/marshal.c
View file @
d28c3ca6
...
@@ -1615,7 +1615,7 @@ static void test_proxybuffer(REFIID riid)
...
@@ -1615,7 +1615,7 @@ static void test_proxybuffer(REFIID riid)
LPVOID
lpvtbl
;
LPVOID
lpvtbl
;
ULONG
refs
;
ULONG
refs
;
CLSID
clsid
;
CLSID
clsid
;
HeapUnknown
*
pUnkOuter
=
(
HeapUnknown
*
)
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
*
pUnkOuter
));
HeapUnknown
*
pUnkOuter
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
*
pUnkOuter
));
pUnkOuter
->
lpVtbl
=
&
HeapUnknown_Vtbl
;
pUnkOuter
->
lpVtbl
=
&
HeapUnknown_Vtbl
;
pUnkOuter
->
refs
=
1
;
pUnkOuter
->
refs
=
1
;
...
...
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