Eric Pouech : cards: Enable compilation with long types.

Alexandre Julliard julliard at winehq.org
Wed Feb 9 16:03:47 CST 2022


Module: wine
Branch: master
Commit: 5e441786d34b5f8a6e379a69cc8153ddeb753f1c
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=5e441786d34b5f8a6e379a69cc8153ddeb753f1c

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Wed Feb  9 09:25:13 2022 +0100

cards: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 7a6f14dda06..395b15018ad 100644
--- a/dlls/cards/Makefile.in
+++ b/dlls/cards/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = cards.dll
 IMPORTLIB = cards
 IMPORTS   = user32 gdi32
diff --git a/dlls/cards/cards.c b/dlls/cards/cards.c
index dec25f3252c..e774d7df4a4 100644
--- a/dlls/cards/cards.c
+++ b/dlls/cards/cards.c
@@ -92,7 +92,7 @@ BOOL WINAPI cdtDrawExt(HDC hdc, int x, int y, int dx, int dy, int card, int mode
 	BOOL eraseFlag = FALSE;
 	BOOL drawFlag = TRUE;
 
-	TRACE("(%p, %d, %d, %d, %d, %d, %d, %d)\n", hdc, x, y, dx, dy, card, mode, color);
+	TRACE("(%p, %d, %d, %d, %d, %d, %d, %ld)\n", hdc, x, y, dx, dy, card, mode, color);
 
 	roundCornersFlag = !(mode & MODEFLAG_DONT_ROUND_CORNERS) &&
 			   (dx == cardWidth) && (dy == cardHeight);
@@ -238,7 +238,7 @@ BOOL WINAPI cdtDrawExt(HDC hdc, int x, int y, int dx, int dy, int card, int mode
  */
 BOOL WINAPI cdtDraw(HDC hdc, int x, int y, int card, int mode, DWORD color)
 {
-	TRACE("(%p, %d, %d, %d, %d, %d)\n", hdc, x, y, card, mode, color);
+	TRACE("(%p, %d, %d, %d, %d, %ld)\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