d3dx8: Win64 printf format warning fixes.

This commit is contained in:
Michael Stefaniuc 2006-10-03 23:38:31 +02:00 committed by Alexandre Julliard
parent 16e15913d9
commit 277fab6cc7
2 changed files with 2 additions and 3 deletions

View File

@ -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 \

View File

@ -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);