tests: Build all tests with strict prototypes.

This commit is contained in:
Alexandre Julliard 2009-10-06 13:34:37 +02:00
parent fe1374cc4c
commit 239265fd8b
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@
#
DLLFLAGS = @DLLFLAGS@
DEFS = $(EXTRADEFS)
DEFS = -DWINE_STRICT_PROTOTYPES $(EXTRADEFS)
MODULE = $(TESTDLL:%.dll=%)_test.exe
TESTRESULTS = $(CTESTS:.c=.ok)

View file

@ -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++)
{