d3dx8: Win64 printf format warning fixes.
Michael Stefaniuc
mstefani at redhat.de
Tue Oct 3 16:38:31 CDT 2006
---
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);
--
1.4.2.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061003/b02cdab5/attachment.pgp
More information about the wine-patches
mailing list