wing.dll16: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f0f4e105f1
commit
6ac552ed89
|
@ -1,4 +1,3 @@
|
||||||
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)
|
||||||
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)
|
||||||
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 ));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue