shell32/tests: Use the explicit type for a function pointer.
This commit is contained in:
parent
778e98c19e
commit
5c02bc11e1
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue