summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-21 14:18:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-21 14:18:48 (GMT)
commitb39c277e12e6135a57caca867bb94569bd4bbb10 (patch)
tree46aea72091fb886be66b37b03a1356f260126e62 /unix/tclUnixInit.c
parent2fd4fd18273cddc6c25cca5cf459cc0d90e2ff56 (diff)
downloadtcl-b39c277e12e6135a57caca867bb94569bd4bbb10.zip
tcl-b39c277e12e6135a57caca867bb94569bd4bbb10.tar.gz
tcl-b39c277e12e6135a57caca867bb94569bd4bbb10.tar.bz2
Fix compiler warnings, due to the use of macro's
Diffstat (limited to 'unix/tclUnixInit.c')
-rw-r--r--unix/tclUnixInit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c
index f8bca0f..8486e57 100644
--- a/unix/tclUnixInit.c
+++ b/unix/tclUnixInit.c
@@ -473,7 +473,7 @@ TclpInitLibraryPath(
*/
str = getenv("TCL_LIBRARY"); /* INTL: Native. */
- Tcl_ExternalToUtfDString(NULL, str, -1, &buffer);
+ Tcl_ExternalToUtfDStringEx(NULL, str, -1, TCL_ENCODING_NOCOMPLAIN, &buffer);
str = Tcl_DStringValue(&buffer);
if ((str != NULL) && (str[0] != '\0')) {