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 /win | |
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 'win')
-rw-r--r-- | win/tclWinSock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c index 61c1010..5e3b7f4 100644 --- a/win/tclWinSock.c +++ b/win/tclWinSock.c @@ -388,8 +388,8 @@ InitializeHostName( Tcl_DStringSetLength(&inDs, 256); if (gethostname(Tcl_DStringValue(&inDs), Tcl_DStringLength(&inDs)) == 0) { - Tcl_ExternalToUtfDString(NULL, Tcl_DStringValue(&inDs), -1, - &ds); + Tcl_ExternalToUtfDStringEx(NULL, Tcl_DStringValue(&inDs), -1, + TCL_ENCODING_NOCOMPLAIN, &ds); } Tcl_DStringFree(&inDs); } |