From 257f4ada5c10c8baf4c123f22daba65b64dd0db1 Mon Sep 17 00:00:00 2001 From: dgp Date: Thu, 17 Jun 2004 20:17:48 +0000 Subject: silence compiler warning --- win/tclWinInit.c | 4 ++-- 1 file 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), -- cgit v0.12