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/tclUnixChan.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/tclUnixChan.c')
| -rw-r--r-- | unix/tclUnixChan.c | 4 |
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); } |
