Fixed cast warnings from freerdp_load_channel_addin_entry
This commit is contained in:
parent
4ad0770a7e
commit
3680d9f7d2
@ -32,7 +32,7 @@ static ITSMFAudioDevice* tsmf_load_audio_device_by_name(const char* name, const
|
||||
ITSMFAudioDevice* audio;
|
||||
TSMF_AUDIO_DEVICE_ENTRY entry;
|
||||
|
||||
entry = (TSMF_AUDIO_DEVICE_ENTRY) freerdp_load_channel_addin_entry("tsmf", (LPSTR) name, "audio", 0);
|
||||
entry = (TSMF_AUDIO_DEVICE_ENTRY) (void*)freerdp_load_channel_addin_entry("tsmf", name, "audio", 0);
|
||||
|
||||
if (!entry)
|
||||
return NULL;
|
||||
|
@ -37,7 +37,7 @@ static ITSMFDecoder* tsmf_load_decoder_by_name(const char *name)
|
||||
ITSMFDecoder* decoder;
|
||||
TSMF_DECODER_ENTRY entry;
|
||||
|
||||
entry = (TSMF_DECODER_ENTRY) freerdp_load_channel_addin_entry("tsmf", (LPSTR) name, "decoder", 0);
|
||||
entry = (TSMF_DECODER_ENTRY) (void*)freerdp_load_channel_addin_entry("tsmf", name, "decoder", 0);
|
||||
|
||||
if (!entry)
|
||||
return NULL;
|
||||
|
@ -3080,7 +3080,7 @@ static BOOL freerdp_client_load_static_channel_addin(rdpChannels* channels,
|
||||
{
|
||||
PVIRTUALCHANNELENTRY entry = NULL;
|
||||
PVIRTUALCHANNELENTRYEX entryEx = NULL;
|
||||
entryEx = (PVIRTUALCHANNELENTRYEX) freerdp_load_channel_addin_entry(name, NULL, NULL,
|
||||
entryEx = (PVIRTUALCHANNELENTRYEX) (void*)freerdp_load_channel_addin_entry(name, NULL, NULL,
|
||||
FREERDP_ADDIN_CHANNEL_STATIC | FREERDP_ADDIN_CHANNEL_ENTRYEX);
|
||||
|
||||
if (!entryEx)
|
||||
|
Loading…
Reference in New Issue
Block a user