cards: Win64 printf format warning fixes.

Michael Stefaniuc mstefani at redhat.de
Tue Oct 3 16:38:17 CDT 2006


---
 dlls/cards/Makefile.in |    1 -
 dlls/cards/cards.c     |    4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/dlls/cards/Makefile.in b/dlls/cards/Makefile.in
index 0433d06..cf65144 100644
--- a/dlls/cards/Makefile.in
+++ b/dlls/cards/Makefile.in
@@ -5,7 +5,6 @@ VPATH     = @srcdir@
 MODULE    = cards.dll
 IMPORTLIB = libcards.$(IMPLIBEXT)
 IMPORTS   = user32 gdi32 kernel32
-EXTRADEFS = -DWINE_NO_LONG_AS_INT
 
 C_SRCS = \
 	cards.c
diff --git a/dlls/cards/cards.c b/dlls/cards/cards.c
index 7938bc1..5baf47a 100644
--- a/dlls/cards/cards.c
+++ b/dlls/cards/cards.c
@@ -94,7 +94,7 @@ BOOL WINAPI cdtDrawExt(HDC hdc, int x, i
 	BOOL eraseFlag = FALSE;
 	BOOL drawFlag = TRUE;
 
-	TRACE("(%p, %d, %d, %d, %d, %d, %d, %ld)\n", hdc, x, y, dx, dy, card, mode, color);
+	TRACE("(%p, %d, %d, %d, %d, %d, %d, %d)\n", hdc, x, y, dx, dy, card, mode, color);
 
 	roundCornersFlag = !(mode & MODEFLAG_DONT_ROUND_CORNERS) &&
 			   (dx == cardWidth) && (dy == cardHeight);
@@ -243,7 +243,7 @@ BOOL WINAPI cdtDrawExt(HDC hdc, int x, i
  */
 BOOL WINAPI cdtDraw(HDC hdc, int x, int y, int card, int mode, DWORD color)
 {
-	TRACE("(%p, %d, %d, %d, %d, %ld)\n", hdc, x, y, card, mode, color);
+	TRACE("(%p, %d, %d, %d, %d, %d)\n", hdc, x, y, card, mode, color);
 
 	return cdtDrawExt(hdc, x, y, cardWidth, cardHeight, card, mode, color);
 }
-- 
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/d5ff7e76/attachment-0001.pgp


More information about the wine-patches mailing list