gdi32/tests: Remove useless casts to self.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2019-08-09 21:17:47 +02:00 committed by Alexandre Julliard
parent ce9909863b
commit 0ae101080b
2 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ static void test_pattern_brush(void)
info->bmiHeader.biBitCount = 1;
info->bmiHeader.biPlanes = 1;
info->bmiHeader.biCompression = BI_RGB;
bitmap = CreateDIBSection( 0, info, DIB_RGB_COLORS, (void**)&bits, NULL, 0 );
bitmap = CreateDIBSection( 0, info, DIB_RGB_COLORS, &bits, NULL, 0 );
ok( bitmap != NULL, "CreateDIBSection failed\n" );
/* MSDN says a DIB section is not allowed, but it works fine */

View File

@ -51,7 +51,7 @@ static void test_path_state(void)
bi->bmiHeader.biBitCount = 32;
bi->bmiHeader.biPlanes = 1;
bi->bmiHeader.biCompression = BI_RGB;
dib = CreateDIBSection( 0, bi, DIB_RGB_COLORS, (void**)&bits, NULL, 0 );
dib = CreateDIBSection( 0, bi, DIB_RGB_COLORS, &bits, NULL, 0 );
orig = SelectObject( hdc, dib );
BeginPath( hdc );