Alexandre Goujon : winenas.drv: Avoid a warning in a trace on x86_64.

Alexandre Julliard julliard at winehq.org
Mon Jun 13 11:49:17 CDT 2011


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

Author: Alexandre Goujon <ale.goujon at gmail.com>
Date:   Sat Jun 11 14:30:29 2011 +0200

winenas.drv: Avoid a warning in a trace on x86_64.

---

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

diff --git a/dlls/winenas.drv/audio.c b/dlls/winenas.drv/audio.c
index a5768fa..4b63ea1 100644
--- a/dlls/winenas.drv/audio.c
+++ b/dlls/winenas.drv/audio.c
@@ -1360,7 +1360,7 @@ event_handler(AuServer* aud, AuEvent* ev, AuEventHandlerRec* hnd)
                                      nas_state(event->prev_state),
                                      nas_state(event->cur_state),
                                      nas_reason(event->reason),
-                                     event->num_bytes, wwo->freeBytes);
+                                     (long)event->num_bytes, wwo->freeBytes);
 
                      if (event->cur_state ==  AuStatePause && event->reason != AuReasonUser) {
                         wwo->freeBytes += event->num_bytes;




More information about the wine-cvs mailing list