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
a50629fa
Commit
a50629fa
authored
Jan 04, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dpnet: Remove superfluous casts.
parent
a16b79cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
address.c
dlls/dpnet/address.c
+1
-1
dpnet_main.c
dlls/dpnet/dpnet_main.c
+1
-1
No files found.
dlls/dpnet/address.c
View file @
a50629fa
...
@@ -202,7 +202,7 @@ static HRESULT WINAPI IDirectPlay8AddressImpl_AddComponent(PDIRECTPLAY8ADDRESS i
...
@@ -202,7 +202,7 @@ static HRESULT WINAPI IDirectPlay8AddressImpl_AddComponent(PDIRECTPLAY8ADDRESS i
break
;
break
;
case
DPNA_DATATYPE_GUID
:
case
DPNA_DATATYPE_GUID
:
if
(
sizeof
(
GUID
)
!=
dwDataSize
)
return
DPNERR_INVALIDPARAM
;
if
(
sizeof
(
GUID
)
!=
dwDataSize
)
return
DPNERR_INVALIDPARAM
;
TRACE
(
"(%p, %u): GUID Type -> %s
\n
"
,
lpvData
,
dwDataSize
,
debugstr_guid
(
(
const
GUID
*
)
lpvData
));
TRACE
(
"(%p, %u): GUID Type -> %s
\n
"
,
lpvData
,
dwDataSize
,
debugstr_guid
(
lpvData
));
break
;
break
;
case
DPNA_DATATYPE_STRING
:
case
DPNA_DATATYPE_STRING
:
TRACE
(
"(%p, %u): STRING Type -> %s
\n
"
,
lpvData
,
dwDataSize
,
(
const
CHAR
*
)
lpvData
);
TRACE
(
"(%p, %u): STRING Type -> %s
\n
"
,
lpvData
,
dwDataSize
,
(
const
CHAR
*
)
lpvData
);
...
...
dlls/dpnet/dpnet_main.c
View file @
a50629fa
...
@@ -114,7 +114,7 @@ static IClassFactoryImpl DPNET_CFS[] = {
...
@@ -114,7 +114,7 @@ static IClassFactoryImpl DPNET_CFS[] = {
{
&
DICF_Vtbl
,
1
,
&
CLSID_DirectPlay8Server
,
DPNET_CreateDirectPlay8Server
},
{
&
DICF_Vtbl
,
1
,
&
CLSID_DirectPlay8Server
,
DPNET_CreateDirectPlay8Server
},
{
&
DICF_Vtbl
,
1
,
&
CLSID_DirectPlay8Peer
,
DPNET_CreateDirectPlay8Peer
},
{
&
DICF_Vtbl
,
1
,
&
CLSID_DirectPlay8Peer
,
DPNET_CreateDirectPlay8Peer
},
{
&
DICF_Vtbl
,
1
,
&
CLSID_DirectPlay8Address
,
DPNET_CreateDirectPlay8Address
},
{
&
DICF_Vtbl
,
1
,
&
CLSID_DirectPlay8Address
,
DPNET_CreateDirectPlay8Address
},
{
&
DICF_Vtbl
,
1
,
&
CLSID_DirectPlay8LobbiedApplication
,
(
void
*
)
DPNET_CreateDirectPlay8LobbiedApp
},
{
&
DICF_Vtbl
,
1
,
&
CLSID_DirectPlay8LobbiedApplication
,
DPNET_CreateDirectPlay8LobbiedApp
},
{
&
DICF_Vtbl
,
1
,
&
CLSID_DirectPlay8ThreadPool
,
DPNET_CreateDirectPlay8ThreadPool
},
{
&
DICF_Vtbl
,
1
,
&
CLSID_DirectPlay8ThreadPool
,
DPNET_CreateDirectPlay8ThreadPool
},
{
NULL
,
0
,
NULL
,
NULL
}
{
NULL
,
0
,
NULL
,
NULL
}
};
};
...
...
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