d3dx8: Win64 printf format warning fixes.
This commit is contained in:
parent
16e15913d9
commit
277fab6cc7
|
@ -6,7 +6,6 @@ MODULE = d3dx8.dll
|
|||
IMPORTLIB = libd3dx8.$(IMPLIBEXT)
|
||||
IMPORTS = d3d8 user32 gdi32 kernel32
|
||||
EXTRALIBS = -ldxguid -luuid
|
||||
EXTRADEFS = -DWINE_NO_LONG_AS_INT
|
||||
|
||||
C_SRCS = \
|
||||
d3dx8_main.c \
|
||||
|
|
|
@ -54,7 +54,7 @@ static ULONG WINAPI ID3DXBufferImpl_AddRef(LPD3DXBUFFER iface) {
|
|||
ID3DXBufferImpl *This = (ID3DXBufferImpl *)iface;
|
||||
ULONG ref = InterlockedIncrement(&This->ref);
|
||||
|
||||
TRACE("(%p) : AddRef from %ld\n", This, ref - 1);
|
||||
TRACE("(%p) : AddRef from %d\n", This, ref - 1);
|
||||
|
||||
return ref;
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ static ULONG WINAPI ID3DXBufferImpl_Release(LPD3DXBUFFER iface) {
|
|||
ID3DXBufferImpl *This = (ID3DXBufferImpl *)iface;
|
||||
ULONG ref = InterlockedDecrement(&This->ref);
|
||||
|
||||
TRACE("(%p) : ReleaseRef to %ld\n", This, ref);
|
||||
TRACE("(%p) : ReleaseRef to %d\n", This, ref);
|
||||
|
||||
if (ref == 0) {
|
||||
HeapFree(GetProcessHeap(), 0, This->buffer);
|
||||
|
|
Loading…
Reference in New Issue