[PATCH 04/25] dlls/cards: enable compilation with long types
Eric Pouech
eric.pouech at gmail.com
Wed Feb 9 02:25:13 CST 2022
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
---
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-devel
mailing list