diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-21 14:18:48 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-21 14:18:48 (GMT) |
| commit | b39c277e12e6135a57caca867bb94569bd4bbb10 (patch) | |
| tree | 46aea72091fb886be66b37b03a1356f260126e62 /unix/tclUnixInit.c | |
| parent | 2fd4fd18273cddc6c25cca5cf459cc0d90e2ff56 (diff) | |
| download | tcl-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.c | 2 |
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')) { |
