msgsm32.acm: Fix compiler warnings with flag -Wcast-qual.

This commit is contained in:
Mikhail Maroukhine 2010-03-27 19:34:03 +06:00 committed by Alexandre Julliard
parent bbf827c38f
commit 26cba0cb43
1 changed files with 2 additions and 2 deletions

View File

@ -179,10 +179,10 @@ static DWORD GSM_FormatValidate(const WAVEFORMATEX *wfx)
WARN("GSM nBlockAlign %u\n", wfx->nBlockAlign);
return 0;
}
if (((GSM610WAVEFORMAT*)wfx)->wSamplesPerBlock != 320)
if (((const GSM610WAVEFORMAT*)wfx)->wSamplesPerBlock != 320)
{
WARN("GSM wSamplesPerBlock %u\n",
((GSM610WAVEFORMAT*)wfx)->wSamplesPerBlock);
((const GSM610WAVEFORMAT*)wfx)->wSamplesPerBlock);
return 0;
}
if (wfx->nAvgBytesPerSec != wfx->nSamplesPerSec * 65 / 320)