msacm32: Remove unneeded casts of zero.

This commit is contained in:
Francois Gouget 2008-12-08 09:26:47 +01:00 committed by Alexandre Julliard
parent 7e43f8a4fe
commit 2320b81ba4
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ MMRESULT WINAPI acmFormatDetailsW(HACMDRIVER had, PACMFORMATDETAILSW pafd, DWORD
break; break;
} }
if (mmr == MMSYSERR_NOERROR && pafd->szFormat[0] == (WCHAR)0) { if (mmr == MMSYSERR_NOERROR && pafd->szFormat[0] == 0) {
wsprintfW(pafd->szFormat, fmt1, pafd->pwfx->nSamplesPerSec); wsprintfW(pafd->szFormat, fmt1, pafd->pwfx->nSamplesPerSec);
if (pafd->pwfx->wBitsPerSample) { if (pafd->pwfx->wBitsPerSample) {
wsprintfW(pafd->szFormat + lstrlenW(pafd->szFormat), fmt2, wsprintfW(pafd->szFormat + lstrlenW(pafd->szFormat), fmt2,