msgsm32.acm: Fix compiler warnings with flag -Wcast-qual.
This commit is contained in:
parent
bbf827c38f
commit
26cba0cb43
|
@ -179,10 +179,10 @@ static DWORD GSM_FormatValidate(const WAVEFORMATEX *wfx)
|
||||||
WARN("GSM nBlockAlign %u\n", wfx->nBlockAlign);
|
WARN("GSM nBlockAlign %u\n", wfx->nBlockAlign);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (((GSM610WAVEFORMAT*)wfx)->wSamplesPerBlock != 320)
|
if (((const GSM610WAVEFORMAT*)wfx)->wSamplesPerBlock != 320)
|
||||||
{
|
{
|
||||||
WARN("GSM wSamplesPerBlock %u\n",
|
WARN("GSM wSamplesPerBlock %u\n",
|
||||||
((GSM610WAVEFORMAT*)wfx)->wSamplesPerBlock);
|
((const GSM610WAVEFORMAT*)wfx)->wSamplesPerBlock);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (wfx->nAvgBytesPerSec != wfx->nSamplesPerSec * 65 / 320)
|
if (wfx->nAvgBytesPerSec != wfx->nSamplesPerSec * 65 / 320)
|
||||||
|
|
Loading…
Reference in New Issue