msacm32: Remove unneeded casts of zero.

Francois Gouget fgouget at free.fr
Mon Dec 8 02:26:47 CST 2008


---
 dlls/msacm32/format.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msacm32/format.c b/dlls/msacm32/format.c
index a6fd57a..66f3b3c 100644
--- a/dlls/msacm32/format.c
+++ b/dlls/msacm32/format.c
@@ -360,7 +360,7 @@ MMRESULT WINAPI acmFormatDetailsW(HACMDRIVER had, PACMFORMATDETAILSW pafd, DWORD
 	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);
 	if (pafd->pwfx->wBitsPerSample) {
 	    wsprintfW(pafd->szFormat + lstrlenW(pafd->szFormat), fmt2,
-- 
1.5.6.5




More information about the wine-patches mailing list