From fb0359eda199d2cd06d926f857bb3f1d90ebdac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kochma=C5=84ski?= Date: Thu, 8 Dec 2016 15:56:55 +0100 Subject: [PATCH] external process: we are using handle, not a pointer --- src/c/unixsys.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c/unixsys.d b/src/c/unixsys.d index 09f42bddb..d2ae125f6 100644 --- a/src/c/unixsys.d +++ b/src/c/unixsys.d @@ -313,7 +313,7 @@ ecl_waitpid(cl_object pid, cl_object wait) int ret; #if defined(ECL_MS_WINDOWS_HOST) HANDLE *ph = (HANDLE*)ecl_foreign_data_pointer_safe(pid); - ret = TerminateProcess(ph, -1); + ret = TerminateProcess(*ph, -1); error_encountered = (ret == 0); #else ret = kill(ecl_fixnum(pid), Null(force) ? SIGTERM : SIGKILL);