[GDI32_APITEST]

Fix warnings

svn path=/trunk/; revision=56499
This commit is contained in:
Timo Kreuzer 2012-05-04 19:06:12 +00:00
parent 92d1183079
commit 5b92fc6b91
3 changed files with 1 additions and 3 deletions

View file

@ -29,7 +29,6 @@ void Test_CreateDIBPatternBrushPt()
{0, 1, 2, 7}, {0, 1, 2, 7},
{0,1,2,3, 1,2,3,0, 2,3,0,1, 3,0,1,2}, {0,1,2,3, 1,2,3,0, 2,3,0,1, 3,0,1,2},
}; };
PBITMAPINFO pbmi = (PBITMAPINFO)&PackedDIB;
HBRUSH hbr, hbrOld; HBRUSH hbr, hbrOld;
HPALETTE hpalOld; HPALETTE hpalOld;

View file

@ -349,7 +349,6 @@ Test_DIBBrush(void)
{1, 7, 3, 1}, {1, 7, 3, 1},
{0,1,2,3, 1,2,3,0, 2,3,0,1, 3,0,1,2}, {0,1,2,3, 1,2,3,0, 2,3,0,1, 3,0,1,2},
}; };
PBITMAPINFO pbmi = (PBITMAPINFO)&PackedDIB;
LOGBRUSH logbrush; LOGBRUSH logbrush;
HBRUSH hBrush; HBRUSH hBrush;

View file

@ -30,7 +30,7 @@ struct
BOOL InitStuff(void) BOOL InitStuff(void)
{ {
BITMAPINFO bmi32 = BITMAPINFO bmi32 =
{{sizeof(BITMAPINFOHEADER), 4, -4, 1, 32, BI_RGB, 0, 1, 1, 0, 0}, {0}}; {{sizeof(BITMAPINFOHEADER), 4, -4, 1, 32, BI_RGB, 0, 1, 1, 0, 0}};
ghdcDIB32 = CreateCompatibleDC(0); ghdcDIB32 = CreateCompatibleDC(0);