Skip to content

Commit 77f8698

Browse files
committed
fixup! mingw: kill child processes in a gentler way
This is needed to make things compile with GCC 8.x and later. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent f882f5d commit 77f8698

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/win32/exit-process.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ static int exit_process(HANDLE process, int exit_code)
130130
HINSTANCE kernel32 = GetModuleHandleA("kernel32");
131131
if (!kernel32)
132132
die("BUG: cannot find kernel32");
133-
exit_process_address = (LPTHREAD_START_ROUTINE)
133+
exit_process_address = (LPTHREAD_START_ROUTINE)(void *)
134134
GetProcAddress(kernel32, "ExitProcess");
135135
initialized = 1;
136136
}

0 commit comments

Comments
 (0)