Francois Gouget : msacm32: Remove unneeded casts of zero.

Alexandre Julliard julliard at winehq.org
Mon Dec 8 09:46:18 CST 2008


Module: wine
Branch: master
Commit: 2320b81ba47de4236f9f6a508f07547909fdfb1a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2320b81ba47de4236f9f6a508f07547909fdfb1a

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Dec  8 09:26:47 2008 +0100

msacm32: Remove unneeded casts of zero.

---

 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,




More information about the wine-cvs mailing list