Commit 5e441786 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

cards: Enable compilation with long types.

parent 0197a1c0
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = cards.dll MODULE = cards.dll
IMPORTLIB = cards IMPORTLIB = cards
IMPORTS = user32 gdi32 IMPORTS = user32 gdi32
......
...@@ -92,7 +92,7 @@ BOOL WINAPI cdtDrawExt(HDC hdc, int x, int y, int dx, int dy, int card, int mode ...@@ -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 eraseFlag = FALSE;
BOOL drawFlag = TRUE; 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) && roundCornersFlag = !(mode & MODEFLAG_DONT_ROUND_CORNERS) &&
(dx == cardWidth) && (dy == cardHeight); (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 ...@@ -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) 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); return cdtDrawExt(hdc, x, y, cardWidth, cardHeight, card, mode, color);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment