Commit 239265fd authored by Alexandre Julliard's avatar Alexandre Julliard

tests: Build all tests with strict prototypes.

parent fe1374cc
......@@ -10,7 +10,7 @@
#
DLLFLAGS = @DLLFLAGS@
DEFS = $(EXTRADEFS)
DEFS = -DWINE_STRICT_PROTOTYPES $(EXTRADEFS)
MODULE = $(TESTDLL:%.dll=%)_test.exe
TESTRESULTS = $(CTESTS:.c=.ok)
......
......@@ -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++)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment