summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-03 21:51:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-03 21:51:48 (GMT)
commit67b632666e2e646875b77f76fde870f27d26ce8d (patch)
treefe7e5f0aa8e5ead716922dee24b37876d6a8a247 /win/tclWinSock.c
parente74974e6cddc887a442d6134824509aeeb1ce0f7 (diff)
downloadtcl-67b632666e2e646875b77f76fde870f27d26ce8d.zip
tcl-67b632666e2e646875b77f76fde870f27d26ce8d.tar.gz
tcl-67b632666e2e646875b77f76fde870f27d26ce8d.tar.bz2
Use *WChar* in stead of *Char16* functions on Windows, always. It's actually the same, but more consistent.
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r--win/tclWinSock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index 88953c0..e483eb4 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -373,7 +373,7 @@ InitializeHostName(
* Convert string from native to UTF then change to lowercase.
*/
- Tcl_UtfToLower(Tcl_Char16ToUtfDString(tbuf, -1, &ds));
+ Tcl_UtfToLower(Tcl_WCharToUtfDString(tbuf, -1, &ds));
} else {
if (TclpHasSockets(NULL) == TCL_OK) {