diff --git a/dlls/gdiplus/tests/graphics.c b/dlls/gdiplus/tests/graphics.c index b0858e1eb6c..d83f3b758a3 100644 --- a/dlls/gdiplus/tests/graphics.c +++ b/dlls/gdiplus/tests/graphics.c @@ -540,9 +540,9 @@ static void test_Get_Release_DC(void) status = GdipGetDC(NULL, &retdc); expect(InvalidParameter, status); - status = GdipReleaseDC(NULL, (HDC)0); + status = GdipReleaseDC(NULL, NULL); expect(InvalidParameter, status); - status = GdipReleaseDC(graphics, (HDC)0); + status = GdipReleaseDC(graphics, NULL); expect(InvalidParameter, status); status = GdipReleaseDC(NULL, (HDC)0xdeadbeef); expect(InvalidParameter, status);