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
44a9bae9
Commit
44a9bae9
authored
Dec 09, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Fix some pointer cast warnings on 64-bit.
parent
30c1df4a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
compobj.c
dlls/ole32/compobj.c
+3
-5
rpc.c
dlls/ole32/rpc.c
+1
-1
No files found.
dlls/ole32/compobj.c
View file @
44a9bae9
...
...
@@ -2062,6 +2062,7 @@ HRESULT WINAPI CoRegisterClassObject(
DWORD
flags
,
LPDWORD
lpdwRegister
)
{
static
LONG
next_cookie
;
RegisteredClass
*
newClass
;
LPUNKNOWN
foundObject
;
HRESULT
hr
;
...
...
@@ -2115,11 +2116,8 @@ HRESULT WINAPI CoRegisterClassObject(
newClass
->
pMarshaledData
=
NULL
;
newClass
->
RpcRegistration
=
NULL
;
/*
* Use the address of the chain node as the cookie since we are sure it's
* unique. FIXME: not on 64-bit platforms.
*/
newClass
->
dwCookie
=
(
DWORD
)
newClass
;
if
(
!
(
newClass
->
dwCookie
=
InterlockedIncrement
(
&
next_cookie
)))
newClass
->
dwCookie
=
InterlockedIncrement
(
&
next_cookie
);
/*
* Since we're making a copy of the object pointer, we have to increase its
...
...
dlls/ole32/rpc.c
View file @
44a9bae9
...
...
@@ -1358,7 +1358,7 @@ void RPC_ExecuteCall(struct dispatch_params *params)
handlecall
=
IMessageFilter_HandleInComingCall
(
COM_CurrentApt
()
->
filter
,
calltype
,
(
HTASK
)
GetCurrentProcessId
(
),
UlongToHandle
(
GetCurrentProcessId
()
),
0
/* FIXME */
,
&
interface_info
);
TRACE
(
"IMessageFilter_HandleInComingCall returned %d
\n
"
,
handlecall
);
...
...
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