Module: wine Branch: master Commit: 277fab6cc7a513cc28193de57aa54204b3a81570 URL: http://source.winehq.org/git/wine.git/?a=commit;h=277fab6cc7a513cc28193de57a...
Author: Michael Stefaniuc mstefani@redhat.de Date: Tue Oct 3 23:38:31 2006 +0200
d3dx8: Win64 printf format warning fixes.
---
dlls/d3dx8/Makefile.in | 1 - dlls/d3dx8/d3dxbuffer.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/d3dx8/Makefile.in b/dlls/d3dx8/Makefile.in index a422632..f8159bb 100644 --- a/dlls/d3dx8/Makefile.in +++ b/dlls/d3dx8/Makefile.in @@ -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 \ diff --git a/dlls/d3dx8/d3dxbuffer.c b/dlls/d3dx8/d3dxbuffer.c index 6d0a780..369714c 100644 --- a/dlls/d3dx8/d3dxbuffer.c +++ b/dlls/d3dx8/d3dxbuffer.c @@ -54,7 +54,7 @@ static ULONG WINAPI ID3DXBufferImpl_AddR 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_Rele 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);