ddraw: Fix warnings.
This commit is contained in:
parent
2ec6c1bf96
commit
8836dea139
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue