dpnet: Remove superfluous casts.
This commit is contained in:
parent
a16b79cf72
commit
a50629fad5
|
@ -202,7 +202,7 @@ static HRESULT WINAPI IDirectPlay8AddressImpl_AddComponent(PDIRECTPLAY8ADDRESS i
|
|||
break;
|
||||
case DPNA_DATATYPE_GUID:
|
||||
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;
|
||||
case DPNA_DATATYPE_STRING:
|
||||
TRACE("(%p, %u): STRING Type -> %s\n", lpvData, dwDataSize, (const CHAR*) lpvData);
|
||||
|
|
|
@ -114,7 +114,7 @@ static IClassFactoryImpl DPNET_CFS[] = {
|
|||
{ &DICF_Vtbl, 1, &CLSID_DirectPlay8Server, DPNET_CreateDirectPlay8Server },
|
||||
{ &DICF_Vtbl, 1, &CLSID_DirectPlay8Peer, DPNET_CreateDirectPlay8Peer },
|
||||
{ &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},
|
||||
{ NULL, 0, NULL, NULL }
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue