diff --git a/dlls/Maketest.rules.in b/dlls/Maketest.rules.in index aff002c66a6..95f5c2bbde4 100644 --- a/dlls/Maketest.rules.in +++ b/dlls/Maketest.rules.in @@ -10,7 +10,7 @@ # DLLFLAGS = @DLLFLAGS@ -DEFS = $(EXTRADEFS) +DEFS = -DWINE_STRICT_PROTOTYPES $(EXTRADEFS) MODULE = $(TESTDLL:%.dll=%)_test.exe TESTRESULTS = $(CTESTS:.c=.ok) diff --git a/dlls/user32/tests/class.c b/dlls/user32/tests/class.c index f8a4cd822ae..0e7b0e4bed7 100644 --- a/dlls/user32/tests/class.c +++ b/dlls/user32/tests/class.c @@ -598,8 +598,8 @@ static void test_builtinproc(void) HWND hwnd; int i; - pDefWindowProcA = GetProcAddress(GetModuleHandle("user32.dll"), "DefWindowProcA"); - pDefWindowProcW = GetProcAddress(GetModuleHandle("user32.dll"), "DefWindowProcW"); + pDefWindowProcA = (void *)GetProcAddress(GetModuleHandle("user32.dll"), "DefWindowProcA"); + pDefWindowProcW = (void *)GetProcAddress(GetModuleHandle("user32.dll"), "DefWindowProcW"); for (i = 0; i < 4; i++) {