diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-12-26 15:04:16 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-12-26 15:04:16 (GMT) |
| commit | 59eeb967a221a65eafeceea7460f438892396ef7 (patch) | |
| tree | 4f2796040b1c60486b26aa2ac3853f95d971c685 /unix/tclUnixFile.c | |
| parent | 50b5581156fef0c05550efc25526d3ffeac13523 (diff) | |
| download | tcl-59eeb967a221a65eafeceea7460f438892396ef7.zip tcl-59eeb967a221a65eafeceea7460f438892396ef7.tar.gz tcl-59eeb967a221a65eafeceea7460f438892396ef7.tar.bz2 | |
Many internal int -> size_t increases, so string lengths > 2Gb can be handled correctly in many more places.
Diffstat (limited to 'unix/tclUnixFile.c')
| -rw-r--r-- | unix/tclUnixFile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixFile.c b/unix/tclUnixFile.c index a17e598..3da84e0 100644 --- a/unix/tclUnixFile.c +++ b/unix/tclUnixFile.c @@ -41,7 +41,7 @@ TclpFindExecutable( { Tcl_Encoding encoding; #ifdef __CYGWIN__ - int length; + size_t length; char buf[PATH_MAX * 2]; char name[PATH_MAX * TCL_UTF_MAX + 1]; GetModuleFileNameW(NULL, buf, PATH_MAX); |
