summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-08-30 09:19:37 (GMT)
committernijtmans <nijtmans>2010-08-30 09:19:37 (GMT)
commitaf6af80ab88abd5db88a9b378434fa041f19a74a (patch)
tree0d954c81b8cc7292bf263a114bf84176c178bbe1 /win/tclWinSock.c
parentff9209620e3750a879b1cfe363cb06042092dfdc (diff)
downloadtcl-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.c4
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;