ddraw: Fix warnings.

This commit is contained in:
Dmitry Timoshkov 2006-12-15 15:02:33 +08:00 committed by Alexandre Julliard
parent 2ec6c1bf96
commit 8836dea139
1 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ IDirectDraw3Impl_AddRef(LPDIRECTDRAW3 iface)
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 iface)
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)
{