summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixChan.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/tclUnixChan.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/tclUnixChan.c')
-rw-r--r--unix/tclUnixChan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c
index 25bc70f..933ba2a 100644
--- a/unix/tclUnixChan.c
+++ b/unix/tclUnixChan.c
@@ -1027,11 +1027,11 @@ TtyGetOptionProc(
tcgetattr(fsPtr->fileState.fd, &iostate);
Tcl_DStringInit(&ds);
- Tcl_ExternalToUtfDString(NULL, (char *) &iostate.c_cc[VSTART], 1, &ds);
+ Tcl_ExternalToUtfDStringEx(NULL, (char *) &iostate.c_cc[VSTART], 1, TCL_ENCODING_NOCOMPLAIN, &ds);
Tcl_DStringAppendElement(dsPtr, Tcl_DStringValue(&ds));
TclDStringClear(&ds);
- Tcl_ExternalToUtfDString(NULL, (char *) &iostate.c_cc[VSTOP], 1, &ds);
+ Tcl_ExternalToUtfDStringEx(NULL, (char *) &iostate.c_cc[VSTOP], 1, TCL_ENCODING_NOCOMPLAIN, &ds);
Tcl_DStringAppendElement(dsPtr, Tcl_DStringValue(&ds));
Tcl_DStringFree(&ds);
}