Dmitry Timoshkov : ddraw: Fix warnings.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Dec 15 07:21:40 CST 2006


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

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Fri Dec 15 15:02:33 2006 +0800

ddraw: Fix warnings.

---

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

diff --git a/dlls/ddraw/ddraw_thunks.c b/dlls/ddraw/ddraw_thunks.c
index ef8af6b..99518f0 100644
--- a/dlls/ddraw/ddraw_thunks.c
+++ b/dlls/ddraw/ddraw_thunks.c
@@ -112,7 +112,7 @@ IDirectDraw3Impl_AddRef(LPDIRECTDRAW3 if
     ICOM_THIS_FROM(IDirectDrawImpl, IDirectDraw3, iface);
     ULONG ref = InterlockedIncrement(&This->ref4);
 
-    TRACE("(%p) : incrementing IDirectDraw4 refcount from %lu.\n", This, ref -1);
+    TRACE("(%p) : incrementing IDirectDraw4 refcount from %u.\n", This, ref -1);
 
     if(ref == 1) InterlockedIncrement(&This->numIfaces);
 
@@ -172,7 +172,7 @@ IDirectDraw3Impl_Release(LPDIRECTDRAW3 i
     ICOM_THIS_FROM(IDirectDrawImpl, IDirectDraw3, iface);
     ULONG ref = InterlockedDecrement(&This->ref4);
 
-    TRACE_(ddraw)("(%p)->() decrementing IDirectDraw4 refcount from %lu.\n", This, ref +1);
+    TRACE_(ddraw)("(%p)->() decrementing IDirectDraw4 refcount from %u.\n", This, ref +1);
 
     if(ref == 0)
     {




More information about the wine-cvs mailing list