diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-06 23:33:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-06 23:33:46 (GMT) |
commit | 51a4b5f8807bc1e0df2e06087292df90c7777f50 (patch) | |
tree | 3760c724e2815dde7d8d1abc5896f2f292ce2906 /generic/tclStubInit.c | |
parent | 37ce8d233ce4e72301a408cd04e074dfd14d6534 (diff) | |
download | tcl-51a4b5f8807bc1e0df2e06087292df90c7777f50.zip tcl-51a4b5f8807bc1e0df2e06087292df90c7777f50.tar.gz tcl-51a4b5f8807bc1e0df2e06087292df90c7777f50.tar.bz2 |
tclpGetPid signature change (stub entry only, not for macro),
for win64 compatibility with future cygwin64
correctly use win32 as default when cross-compiling under cygwin
Diffstat (limited to 'generic/tclStubInit.c')
-rw-r--r-- | generic/tclStubInit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c index 71c6ab4..7d24d69 100644 --- a/generic/tclStubInit.c +++ b/generic/tclStubInit.c @@ -133,10 +133,10 @@ TclWinNoBackslash(char *path) return path; } -static unsigned long +static int TclpGetPid(Tcl_Pid pid) { - return (unsigned long) (size_t) pid; + return (int) (size_t) pid; } static void |