Commit 6ac552ed authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

wing.dll16: Enable compilation with long types.

parent f0f4e105
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = wing.dll16 MODULE = wing.dll16
IMPORTS = gdi32 IMPORTS = gdi32
EXTRADLLFLAGS = -m16 EXTRADLLFLAGS = -m16
......
...@@ -173,7 +173,7 @@ HBITMAP16 WINAPI WinGCreateBitmap16(HDC16 hdc, BITMAPINFO *bmpi, SEGPTR *bits) ...@@ -173,7 +173,7 @@ HBITMAP16 WINAPI WinGCreateBitmap16(HDC16 hdc, BITMAPINFO *bmpi, SEGPTR *bits)
LPVOID bits32; LPVOID bits32;
HBITMAP hbitmap; HBITMAP hbitmap;
TRACE("(%d,%p,%p): create %dx%dx%d bitmap\n", hdc, bmpi, bits, TRACE("(%d,%p,%p): create %ldx%ldx%d bitmap\n", hdc, bmpi, bits,
bmpi->bmiHeader.biWidth, bmpi->bmiHeader.biHeight, bmpi->bmiHeader.biPlanes); bmpi->bmiHeader.biWidth, bmpi->bmiHeader.biHeight, bmpi->bmiHeader.biPlanes);
hbitmap = CreateDIBSection( HDC_32(hdc), bmpi, DIB_RGB_COLORS, &bits32, 0, 0 ); hbitmap = CreateDIBSection( HDC_32(hdc), bmpi, DIB_RGB_COLORS, &bits32, 0, 0 );
...@@ -278,7 +278,7 @@ HPALETTE16 WINAPI WinGCreateHalfTonePalette16(void) ...@@ -278,7 +278,7 @@ HPALETTE16 WINAPI WinGCreateHalfTonePalette16(void)
HBRUSH16 WINAPI WinGCreateHalfToneBrush16(HDC16 winDC, COLORREF col, HBRUSH16 WINAPI WinGCreateHalfToneBrush16(HDC16 winDC, COLORREF col,
WING_DITHER_TYPE type) WING_DITHER_TYPE type)
{ {
TRACE("(%d,%d,%d)\n", winDC, col, type); TRACE("(%d,%ld,%d)\n", winDC, col, type);
return HBRUSH_16( CreateSolidBrush( col )); return HBRUSH_16( CreateSolidBrush( col ));
} }
......
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