Alexandre Julliard : dsound: Avoid a pointer cast in a trace.

Alexandre Julliard julliard at winehq.org
Thu Jan 8 08:31:04 CST 2009


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Jan  8 13:12:46 2009 +0100

dsound: Avoid a pointer cast in a trace.

---

 dlls/dsound/duplex.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/dsound/duplex.c b/dlls/dsound/duplex.c
index 32002a8..1fe6bbc 100644
--- a/dlls/dsound/duplex.c
+++ b/dlls/dsound/duplex.c
@@ -676,9 +676,9 @@ IDirectSoundFullDuplexImpl_Initialize(
     IDirectSoundFullDuplexImpl *This = (IDirectSoundFullDuplexImpl *)iface;
     IDirectSoundBufferImpl * dsb;
 
-    TRACE("(%p,%s,%s,%p,%p,%x,%x,%p,%p)\n", This,
+    TRACE("(%p,%s,%s,%p,%p,%p,%x,%p,%p)\n", This,
         debugstr_guid(pCaptureGuid), debugstr_guid(pRendererGuid),
-        lpDscBufferDesc, lpDsBufferDesc, (DWORD)hWnd, dwLevel,
+        lpDscBufferDesc, lpDsBufferDesc, hWnd, dwLevel,
         lplpDirectSoundCaptureBuffer8, lplpDirectSoundBuffer8);
 
     if (This->renderer_device != NULL || This->capture_device != NULL) {




More information about the wine-cvs mailing list