From ab6ad77243790921b06bd5bed0dd8de539f4eccd Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Sat, 11 Sep 2010 17:02:12 +0100 Subject: [PATCH] dsound: Constify some variables. --- dlls/dsound/propset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/dsound/propset.c b/dlls/dsound/propset.c index 06456102697..04c7b5869c0 100644 --- a/dlls/dsound/propset.c +++ b/dlls/dsound/propset.c @@ -344,7 +344,7 @@ static HRESULT DSPROPERTY_EnumerateW( return S_OK; } -static BOOL DSPROPERTY_descWtoA(DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA *dataW, +static BOOL DSPROPERTY_descWtoA(const DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA *dataW, DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_A_DATA *dataA) { DWORD modlen, desclen; @@ -372,7 +372,7 @@ static BOOL DSPROPERTY_descWtoA(DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA return TRUE; } -static void DSPROPERTY_descWto1(DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA *dataW, +static void DSPROPERTY_descWto1(const DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA *dataW, DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA *data1) { data1->DeviceId = dataW->DeviceId;