diff options
author | nijtmans <nijtmans> | 2010-08-30 09:19:37 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-08-30 09:19:37 (GMT) |
commit | af6af80ab88abd5db88a9b378434fa041f19a74a (patch) | |
tree | 0d954c81b8cc7292bf263a114bf84176c178bbe1 /win/tclWinSock.c | |
parent | ff9209620e3750a879b1cfe363cb06042092dfdc (diff) | |
download | tcl-af6af80ab88abd5db88a9b378434fa041f19a74a.zip tcl-af6af80ab88abd5db88a9b378434fa041f19a74a.tar.gz tcl-af6af80ab88abd5db88a9b378434fa041f19a74a.tar.bz2 |
[Freq 2965056]: Windows build with -DUNICODE
Diffstat (limited to 'win/tclWinSock.c')
-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 5734cb5..b4ae07b 100644 --- a/win/tclWinSock.c +++ b/win/tclWinSock.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinSock.c,v 1.72 2010/05/11 14:47:12 nijtmans Exp $ + * RCS: @(#) $Id: tclWinSock.c,v 1.73 2010/08/30 09:19:37 nijtmans Exp $ */ #include "tclWinInt.h" @@ -2424,7 +2424,7 @@ InitializeHostName( int *lengthPtr, Tcl_Encoding *encodingPtr) { - TCHAR tbuf[(MAX_COMPUTERNAME_LENGTH + 1)*2]; + TCHAR tbuf[MAX_COMPUTERNAME_LENGTH + 1]; DWORD length = MAX_COMPUTERNAME_LENGTH + 1; Tcl_DString ds; |