diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-10-10 19:40:31 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-10-10 19:40:31 (GMT) |
| commit | 6ace68f9923e95a70e34993504c7ca901e253224 (patch) | |
| tree | 21aaab17fefafdb27d0764cacfae684d2a06b6d1 /unix/tclUnixInit.c | |
| parent | 17b84171a4c3c3872f23bfea14d7e4c014e988b0 (diff) | |
| parent | 7e719795438ad86eff493fcd9f84f325c1a50c99 (diff) | |
| download | tcl-6ace68f9923e95a70e34993504c7ca901e253224.zip tcl-6ace68f9923e95a70e34993504c7ca901e253224.tar.gz tcl-6ace68f9923e95a70e34993504c7ca901e253224.tar.bz2 | |
Merge 8.7
Diffstat (limited to 'unix/tclUnixInit.c')
| -rw-r--r-- | unix/tclUnixInit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c index 9c84657..982c36b 100644 --- a/unix/tclUnixInit.c +++ b/unix/tclUnixInit.c @@ -455,7 +455,7 @@ TclpInitPlatform(void) void TclpInitLibraryPath( char **valuePtr, - TCL_HASH_TYPE *lengthPtr, + size_t *lengthPtr, Tcl_Encoding *encodingPtr) { #define LIBRARY_SIZE 32 @@ -546,9 +546,9 @@ TclpInitLibraryPath( *encodingPtr = Tcl_GetEncoding(NULL, NULL); /* - * Note lengthPtr is (TCL_HASH_TYPE *) which is unsigned so cannot + * Note lengthPtr is (size_t *) which is unsigned so cannot * pass directly to Tcl_GetStringFromObj. - * TODO - why is the type TCL_HASH_TYPE anyways? + * TODO - why is the type size_t anyways? */ Tcl_Size length; str = Tcl_GetStringFromObj(pathPtr, &length); |
