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
b1a54bf7
Commit
b1a54bf7
authored
Nov 25, 2008
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Nov 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Remove casts of void pointers.
parent
28b97861
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
automation.c
dlls/msi/automation.c
+5
-5
No files found.
dlls/msi/automation.c
View file @
b1a54bf7
...
@@ -618,7 +618,7 @@ static ULONG WINAPI ListEnumerator_Release(IEnumVARIANT* iface)
...
@@ -618,7 +618,7 @@ static ULONG WINAPI ListEnumerator_Release(IEnumVARIANT* iface)
static
HRESULT
WINAPI
ListEnumerator_Next
(
IEnumVARIANT
*
iface
,
ULONG
celt
,
VARIANT
*
rgVar
,
ULONG
*
pCeltFetched
)
static
HRESULT
WINAPI
ListEnumerator_Next
(
IEnumVARIANT
*
iface
,
ULONG
celt
,
VARIANT
*
rgVar
,
ULONG
*
pCeltFetched
)
{
{
ListEnumerator
*
This
=
(
ListEnumerator
*
)
iface
;
ListEnumerator
*
This
=
(
ListEnumerator
*
)
iface
;
ListData
*
data
=
(
ListData
*
)
private_data
(
This
->
pObj
);
ListData
*
data
=
private_data
(
This
->
pObj
);
ULONG
idx
,
local
;
ULONG
idx
,
local
;
TRACE
(
"(%p,%uld,%p,%p)
\n
"
,
iface
,
celt
,
rgVar
,
pCeltFetched
);
TRACE
(
"(%p,%uld,%p,%p)
\n
"
,
iface
,
celt
,
rgVar
,
pCeltFetched
);
...
@@ -645,7 +645,7 @@ static HRESULT WINAPI ListEnumerator_Next(IEnumVARIANT* iface, ULONG celt, VARIA
...
@@ -645,7 +645,7 @@ static HRESULT WINAPI ListEnumerator_Next(IEnumVARIANT* iface, ULONG celt, VARIA
static
HRESULT
WINAPI
ListEnumerator_Skip
(
IEnumVARIANT
*
iface
,
ULONG
celt
)
static
HRESULT
WINAPI
ListEnumerator_Skip
(
IEnumVARIANT
*
iface
,
ULONG
celt
)
{
{
ListEnumerator
*
This
=
(
ListEnumerator
*
)
iface
;
ListEnumerator
*
This
=
(
ListEnumerator
*
)
iface
;
ListData
*
data
=
(
ListData
*
)
private_data
(
This
->
pObj
);
ListData
*
data
=
private_data
(
This
->
pObj
);
TRACE
(
"(%p,%uld)
\n
"
,
iface
,
celt
);
TRACE
(
"(%p,%uld)
\n
"
,
iface
,
celt
);
...
@@ -988,7 +988,7 @@ static HRESULT WINAPI ListImpl_Invoke(
...
@@ -988,7 +988,7 @@ static HRESULT WINAPI ListImpl_Invoke(
EXCEPINFO
*
pExcepInfo
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
UINT
*
puArgErr
)
{
{
ListData
*
data
=
(
ListData
*
)
private_data
(
This
);
ListData
*
data
=
private_data
(
This
);
HRESULT
hr
;
HRESULT
hr
;
VARIANTARG
varg0
;
VARIANTARG
varg0
;
IUnknown
*
pUnk
=
NULL
;
IUnknown
*
pUnk
=
NULL
;
...
@@ -1868,7 +1868,7 @@ static HRESULT WINAPI InstallerImpl_Invoke(
...
@@ -1868,7 +1868,7 @@ static HRESULT WINAPI InstallerImpl_Invoke(
V_DISPATCH
(
pVarResult
)
=
pDispatch
;
V_DISPATCH
(
pVarResult
)
=
pDispatch
;
/* Save product strings */
/* Save product strings */
ldata
=
(
ListData
*
)
private_data
((
AutomationObject
*
)
pDispatch
);
ldata
=
private_data
((
AutomationObject
*
)
pDispatch
);
if
(
!
(
ldata
->
pVars
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
VARIANT
)
*
idx
)))
if
(
!
(
ldata
->
pVars
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
VARIANT
)
*
idx
)))
ERR
(
"Out of memory
\n
"
);
ERR
(
"Out of memory
\n
"
);
else
else
...
@@ -1914,7 +1914,7 @@ static HRESULT WINAPI InstallerImpl_Invoke(
...
@@ -1914,7 +1914,7 @@ static HRESULT WINAPI InstallerImpl_Invoke(
V_DISPATCH
(
pVarResult
)
=
pDispatch
;
V_DISPATCH
(
pVarResult
)
=
pDispatch
;
/* Save product strings */
/* Save product strings */
ldata
=
(
ListData
*
)
private_data
((
AutomationObject
*
)
pDispatch
);
ldata
=
private_data
((
AutomationObject
*
)
pDispatch
);
if
(
!
(
ldata
->
pVars
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
VARIANT
)
*
idx
)))
if
(
!
(
ldata
->
pVars
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
VARIANT
)
*
idx
)))
ERR
(
"Out of memory
\n
"
);
ERR
(
"Out of memory
\n
"
);
else
else
...
...
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