Module: wine Branch: master Commit: 5c02bc11e102a41236a8477f42ff583e09fc269f URL: http://source.winehq.org/git/wine.git/?a=commit;h=5c02bc11e102a41236a8477f42...
Author: Michael Stefaniuc mstefani@redhat.de Date: Fri Sep 21 17:52:51 2012 +0200
shell32/tests: Use the explicit type for a function pointer.
---
dlls/shell32/tests/shlexec.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c index ec96ed3..5130240 100644 --- a/dlls/shell32/tests/shlexec.c +++ b/dlls/shell32/tests/shlexec.c @@ -1802,7 +1802,7 @@ static DWORD WINAPI hooked_WaitForInputIdle(HANDLE process, DWORD timeout) * by changing the entry for WaitForInputIdle() in the shell32 import address * table. */ -static void hook_WaitForInputIdle(void *new_func) +static void hook_WaitForInputIdle(DWORD (WINAPI *new_func)(HANDLE, DWORD)) { char *base; PIMAGE_NT_HEADERS nt_headers; @@ -1867,7 +1867,7 @@ static void test_dde(void) HANDLE map; char *shared_block;
- hook_WaitForInputIdle((void *) hooked_WaitForInputIdle); + hook_WaitForInputIdle(hooked_WaitForInputIdle);
sprintf(filename, "%s\test file.sde", tmpdir);