mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 08:24:16 +09:00
Fixed const warnings
This commit is contained in:
@@ -304,7 +304,7 @@ fail:
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void rdpsnd_winmm_parse_addin_args(rdpsndDevicePlugin* device, ADDIN_ARGV* args)
|
||||
static void rdpsnd_winmm_parse_addin_args(rdpsndDevicePlugin* device, const ADDIN_ARGV* args)
|
||||
{
|
||||
WINPR_UNUSED(device);
|
||||
WINPR_UNUSED(args);
|
||||
@@ -317,7 +317,7 @@ static void rdpsnd_winmm_parse_addin_args(rdpsndDevicePlugin* device, ADDIN_ARGV
|
||||
*/
|
||||
UINT winmm_freerdp_rdpsnd_client_subsystem_entry(PFREERDP_RDPSND_DEVICE_ENTRY_POINTS pEntryPoints)
|
||||
{
|
||||
ADDIN_ARGV* args;
|
||||
const ADDIN_ARGV* args;
|
||||
rdpsndWinmmPlugin* winmm;
|
||||
|
||||
if (waveOutGetNumDevs() == 0)
|
||||
@@ -341,7 +341,7 @@ UINT winmm_freerdp_rdpsnd_client_subsystem_entry(PFREERDP_RDPSND_DEVICE_ENTRY_PO
|
||||
InitializeCriticalSection(&winmm->cs);
|
||||
|
||||
args = pEntryPoints->args;
|
||||
rdpsnd_winmm_parse_addin_args((rdpsndDevicePlugin*)winmm, args);
|
||||
rdpsnd_winmm_parse_addin_args(&winmm->device, args);
|
||||
winmm->volume = 0xFFFFFFFF;
|
||||
pEntryPoints->pRegisterRdpsndDevice(pEntryPoints->rdpsnd, (rdpsndDevicePlugin*)winmm);
|
||||
return CHANNEL_RC_OK;
|
||||
|
||||
Reference in New Issue
Block a user