Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2002-10-22 00:27:56 +0000
committerAlain Magloire2002-10-22 00:27:56 +0000
commit4751974b960aacd2ddc542f6bd4cbe0bccaf84f7 (patch)
tree2fc2932d8612fb9c5d009d90519bd9e428184840 /core/org.eclipse.cdt.core.win32/library
parent80238aadc83eea269f73e6aa6df7876e72a239f3 (diff)
downloadorg.eclipse.cdt-4751974b960aacd2ddc542f6bd4cbe0bccaf84f7.tar.gz
org.eclipse.cdt-4751974b960aacd2ddc542f6bd4cbe0bccaf84f7.tar.xz
org.eclipse.cdt-4751974b960aacd2ddc542f6bd4cbe0bccaf84f7.zip
get the result code of the process.
Diffstat (limited to 'core/org.eclipse.cdt.core.win32/library')
-rw-r--r--core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c b/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c
index 7c56f2fb55d..0d642e885b0 100644
--- a/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c
+++ b/core/org.eclipse.cdt.core.win32/library/Win32ProcessEx.c
@@ -539,7 +539,7 @@ JNIEXPORT jint JNICALL Java_org_eclipse_cdt_utils_spawner_Spawner_waitFor
if (what == WAIT_OBJECT_0)
{
- GetExitCodeProcess((void *)(pCurProcInfo -> pid), &exit_code);
+ GetExitCodeProcess(hProc, &exit_code);
}

Back to the top