[1/11] wineesd.drv: Fix a trace and remove an unneeded cast.

Francois Gouget fgouget at codeweavers.com
Sat Mar 28 05:21:32 CDT 2009


---

esd_fd is a file descriptor so printing it in decimal is much better.

 dlls/wineesd.drv/audio.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/wineesd.drv/audio.c b/dlls/wineesd.drv/audio.c
index 5aca740..5886749 100644
--- a/dlls/wineesd.drv/audio.c
+++ b/dlls/wineesd.drv/audio.c
@@ -1287,8 +1287,8 @@ static DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
     }
     wwo->hStartUpEvent = INVALID_HANDLE_VALUE;
 
-    TRACE("esd=0x%lx, dwBufferSize=%d\n",
-	  (long)wwo->esd_fd, wwo->dwBufferSize);
+    TRACE("esd=%d, dwBufferSize=%d\n",
+	  wwo->esd_fd, wwo->dwBufferSize);
 
     TRACE("wBitsPerSample=%u, nAvgBytesPerSec=%u, nSamplesPerSec=%u, nChannels=%u nBlockAlign=%u!\n",
 	  wwo->waveFormat.Format.wBitsPerSample, wwo->waveFormat.Format.nAvgBytesPerSec,
-- 
1.6.2




More information about the wine-patches mailing list