summaryrefslogtreecommitdiffstats
path: root/win/tclWinInit.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-06-17 20:17:48 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-06-17 20:17:48 (GMT)
commit257f4ada5c10c8baf4c123f22daba65b64dd0db1 (patch)
tree17791d011922a87a9c6f8046c410664c20ab7296 /win/tclWinInit.c
parentf75c649ae374b3859584280866dcff801f5835f3 (diff)
downloadtcl-257f4ada5c10c8baf4c123f22daba65b64dd0db1.zip
tcl-257f4ada5c10c8baf4c123f22daba65b64dd0db1.tar.gz
tcl-257f4ada5c10c8baf4c123f22daba65b64dd0db1.tar.bz2
silence compiler warning
Diffstat (limited to 'win/tclWinInit.c')
-rw-r--r--win/tclWinInit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinInit.c b/win/tclWinInit.c
index 824a8eb..2eceea9 100644
--- a/win/tclWinInit.c
+++ b/win/tclWinInit.c
@@ -7,7 +7,7 @@
* Copyright (c) 1998-1999 by Scriptics Corporation.
* All rights reserved.
*
- * RCS: @(#) $Id: tclWinInit.c,v 1.51 2004/06/17 19:41:45 dgp Exp $
+ * RCS: @(#) $Id: tclWinInit.c,v 1.52 2004/06/17 20:17:48 dgp Exp $
*/
#include "tclWinInt.h"
@@ -848,7 +848,7 @@ TclpSetVariables(interp)
if (TclGetEnv("USERNAME", &ds) == NULL) {
if ( GetUserName( szUserName, &dwUserNameLen ) != 0 ) {
- Tcl_WinTCharToUtf( szUserName, dwUserNameLen, &ds );
+ Tcl_WinTCharToUtf( szUserName, (int)dwUserNameLen, &ds );
}
}
Tcl_SetVar2(interp, "tcl_platform", "user", Tcl_DStringValue(&ds),