Michael Stefaniuc : cards: Win64 printf format warning fixes.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Oct 4 04:24:54 CDT 2006


Module: wine
Branch: master
Commit: 9f725a2719692cfd2894c92dd61470c12083a633
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9f725a2719692cfd2894c92dd61470c12083a633

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue Oct  3 23:38:17 2006 +0200

cards: Win64 printf format warning fixes.

---

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




More information about the wine-cvs mailing list