Removed function pointer casts
This commit is contained in:
parent
770bc14d18
commit
54938efc77
@ -237,8 +237,8 @@ static void mf_peer_context_free(freerdp_peer* client, mfPeerContext* context)
|
||||
static BOOL mf_peer_init(freerdp_peer* client)
|
||||
{
|
||||
client->ContextSize = sizeof(mfPeerContext);
|
||||
client->ContextNew = (psPeerContextNew)mf_peer_context_new;
|
||||
client->ContextFree = (psPeerContextFree)mf_peer_context_free;
|
||||
client->ContextNew = mf_peer_context_new;
|
||||
client->ContextFree = mf_peer_context_free;
|
||||
|
||||
if (!freerdp_peer_context_new(client))
|
||||
return FALSE;
|
||||
|
@ -82,8 +82,8 @@ static void wf_peer_context_free(freerdp_peer* client, wfPeerContext* context)
|
||||
static BOOL wf_peer_init(freerdp_peer* client)
|
||||
{
|
||||
client->ContextSize = sizeof(wfPeerContext);
|
||||
client->ContextNew = (psPeerContextNew)wf_peer_context_new;
|
||||
client->ContextFree = (psPeerContextFree)wf_peer_context_free;
|
||||
client->ContextNew = wf_peer_context_new;
|
||||
client->ContextFree = wf_peer_context_free;
|
||||
return freerdp_peer_context_new(client);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user