~ chicken-core (chicken-5) 913e87b7d71914a6034f903ac03c679d7f9f76d1
commit 913e87b7d71914a6034f903ac03c679d7f9f76d1 Author: Peter Bex <peter@more-magic.net> AuthorDate: Sun Jun 4 15:02:35 2017 +0200 Commit: Peter Bex <peter@more-magic.net> CommitDate: Sun Jun 4 15:02:35 2017 +0200 Fix type of "phandle" argument for C_process on 64-bit Windows The C type declaration read "C_word *", but that's of variable width, depending on if we're on 64 or 32 bits. The argument was always passed as an "int *", so we use that in the declaration now too. diff --git a/posixwin.scm b/posixwin.scm index 466aa8da..23e2f369 100644 --- a/posixwin.scm +++ b/posixwin.scm @@ -483,9 +483,8 @@ get_user_name() Returns: zero return value indicates failure. */ static int C_fcall -C_process(const char * app, const char * cmdlin, const char ** env, - C_word * phandle, - int * pstdin_fd, int * pstdout_fd, int * pstderr_fd, +C_process(const char *app, const char *cmdlin, const char **env, + int *phandle, int *pstdin_fd, int *pstdout_fd, int *pstderr_fd, int params) { int i;Trap