summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/createprocess.c
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2008-01-11 16:13:18 +0000
committerDamien Doligez <damien.doligez-inria.fr>2008-01-11 16:13:18 +0000
commit9ea5edac9ab0b3860688583a2ff22a9e164be086 (patch)
tree353e23e669026900926bbd60cfc791906887ce63 /otherlibs/win32unix/createprocess.c
parentdb2092907f2eddcaf0b72f4bd0f429001364dbe5 (diff)
merge changes 3.10.0 -> 3.10.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix/createprocess.c')
-rw-r--r--otherlibs/win32unix/createprocess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/win32unix/createprocess.c b/otherlibs/win32unix/createprocess.c
index 8a92d18f0..d91d707b4 100644
--- a/otherlibs/win32unix/createprocess.c
+++ b/otherlibs/win32unix/createprocess.c
@@ -62,7 +62,7 @@ value win_create_process_native(value cmd, value cmdline, value env,
CloseHandle(pi.hThread);
/* Return the process handle as pseudo-PID
(this is consistent with the wait() emulation in the MSVC C library */
- return Val_int(pi.hProcess);
+ return Val_long(pi.hProcess);
}
CAMLprim value win_create_process(value * argv, int argn)