summaryrefslogtreecommitdiffstats
path: root/win/tclWinTime.c
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2006-09-26 21:40:35 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2006-09-26 21:40:35 (GMT)
commitce214ead30c417294e6701b0b07d0b6cc8f455c2 (patch)
tree31f99b53eebeaa5a255e51509f28407c43ff23f8 /win/tclWinTime.c
parentc211c9903b52974bb4397841b10bcdefeb0329c1 (diff)
downloadtcl-ce214ead30c417294e6701b0b07d0b6cc8f455c2.zip
tcl-ce214ead30c417294e6701b0b07d0b6cc8f455c2.tar.gz
tcl-ce214ead30c417294e6701b0b07d0b6cc8f455c2.tar.bz2
* win/makefile.vc: Updated MSVC build to properly deal with
* win/nmakehlp.c: MSVC8 and AMD64 target. Backport from 8.5 * win/rules.vc: * generic/tcl.h: Fixed stat definition for MSVC8 AMD64. * win/tclWinSock.c: Casting type police. * win/tclWinTime.c:
Diffstat (limited to 'win/tclWinTime.c')
-rw-r--r--win/tclWinTime.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinTime.c b/win/tclWinTime.c
index 842d114..f1c9d6a 100644
--- a/win/tclWinTime.c
+++ b/win/tclWinTime.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinTime.c,v 1.14.2.9 2006/06/14 15:21:15 patthoyts Exp $
+ * RCS: @(#) $Id: tclWinTime.c,v 1.14.2.10 2006/09/26 21:40:37 patthoyts Exp $
*/
#include "tclWinInt.h"
@@ -486,7 +486,7 @@ StopCalibration( ClientData unused )
char *
TclpGetTZName(int dst)
{
- int len;
+ size_t len;
char *zone, *p;
TIME_ZONE_INFORMATION tz;
Tcl_Encoding encoding;
@@ -533,7 +533,7 @@ TclpGetTZName(int dst)
}
}
}
- Tcl_ExternalToUtf(NULL, NULL, zone, len, 0, NULL, name,
+ Tcl_ExternalToUtf(NULL, NULL, zone, (int)len, 0, NULL, name,
sizeof(tsdPtr->tzName), NULL, NULL, NULL);
}
if (name[0] == '\0') {