Michael Stefaniuc : gdi32/tests: Remove useless casts to self.
Alexandre Julliard
julliard at winehq.org
Mon Aug 12 18:51:08 CDT 2019
Module: wine
Branch: master
Commit: 0ae101080b810554f03c8a13bb84a260e6badad0
URL: https://source.winehq.org/git/wine.git/?a=commit;h=0ae101080b810554f03c8a13bb84a260e6badad0
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Fri Aug 9 21:17:47 2019 +0200
gdi32/tests: Remove useless casts to self.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/gdi32/tests/brush.c | 2 +-
dlls/gdi32/tests/path.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/gdi32/tests/brush.c b/dlls/gdi32/tests/brush.c
index a3ebb91..1a2201b 100644
--- a/dlls/gdi32/tests/brush.c
+++ b/dlls/gdi32/tests/brush.c
@@ -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 */
diff --git a/dlls/gdi32/tests/path.c b/dlls/gdi32/tests/path.c
index f4a9d18..3fb479d 100644
--- a/dlls/gdi32/tests/path.c
+++ b/dlls/gdi32/tests/path.c
@@ -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 );
More information about the wine-cvs
mailing list