Commit 5c02bc11 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

shell32/tests: Use the explicit type for a function pointer.

parent 778e98c1
...@@ -1802,7 +1802,7 @@ static DWORD WINAPI hooked_WaitForInputIdle(HANDLE process, DWORD timeout) ...@@ -1802,7 +1802,7 @@ static DWORD WINAPI hooked_WaitForInputIdle(HANDLE process, DWORD timeout)
* by changing the entry for WaitForInputIdle() in the shell32 import address * by changing the entry for WaitForInputIdle() in the shell32 import address
* table. * table.
*/ */
static void hook_WaitForInputIdle(void *new_func) static void hook_WaitForInputIdle(DWORD (WINAPI *new_func)(HANDLE, DWORD))
{ {
char *base; char *base;
PIMAGE_NT_HEADERS nt_headers; PIMAGE_NT_HEADERS nt_headers;
...@@ -1867,7 +1867,7 @@ static void test_dde(void) ...@@ -1867,7 +1867,7 @@ static void test_dde(void)
HANDLE map; HANDLE map;
char *shared_block; char *shared_block;
hook_WaitForInputIdle((void *) hooked_WaitForInputIdle); hook_WaitForInputIdle(hooked_WaitForInputIdle);
sprintf(filename, "%s\\test file.sde", tmpdir); sprintf(filename, "%s\\test file.sde", tmpdir);
......
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