Added function pointer casts.
This commit is contained in:
parent
b0289e3ed8
commit
c0c4358cd0
@ -365,11 +365,11 @@ PVIRTUALCHANNELENTRY freerdp_channels_load_static_addin_entry(LPCSTR pszName, LP
|
||||
if (pszType)
|
||||
{
|
||||
if (strcmp(subsystems[j].type, pszType) == 0)
|
||||
return subsystems[j].entry;
|
||||
return (PVIRTUALCHANNELENTRY) subsystems[j].entry;
|
||||
}
|
||||
else
|
||||
{
|
||||
return subsystems[j].entry;
|
||||
return (PVIRTUALCHANNELENTRY) subsystems[j].entry;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -382,7 +382,7 @@ PVIRTUALCHANNELENTRY freerdp_channels_load_static_addin_entry(LPCSTR pszName, LP
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return CLIENT_STATIC_ADDIN_TABLE[i].entry;
|
||||
return (PVIRTUALCHANNELENTRY) CLIENT_STATIC_ADDIN_TABLE[i].entry;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user