summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2019-01-28 16:15:07 (GMT)
committersebres <sebres@users.sourceforge.net>2019-01-28 16:15:07 (GMT)
commit3621a3fd746ab2556b36d1250cda4a1ab13529b7 (patch)
treecb04a7f694587b91ce049dbcb075b208a8cd0796
parent0f700f006751c9e8e75100f86a946ba3f8fe2859 (diff)
parent1dec12d61848ab939bde91eb6e3a095222cf4236 (diff)
downloadtcl-3621a3fd746ab2556b36d1250cda4a1ab13529b7.zip
tcl-3621a3fd746ab2556b36d1250cda4a1ab13529b7.tar.gz
tcl-3621a3fd746ab2556b36d1250cda4a1ab13529b7.tar.bz2
merge 8.5
-rw-r--r--generic/tclCmdMZ.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCmdMZ.c b/generic/tclCmdMZ.c
index 602bd40..3a712f9 100644
--- a/generic/tclCmdMZ.c
+++ b/generic/tclCmdMZ.c
@@ -4244,7 +4244,7 @@ Tcl_TimeObjCmd(
* Use int obj since we know time is not fractional. [Bug 1202178]
*/
- objs[0] = Tcl_NewIntObj((count <= 0) ? 0 : (int) totalMicroSec);
+ objs[0] = Tcl_NewWideIntObj((count <= 0) ? 0 : (Tcl_WideInt)totalMicroSec);
} else {
objs[0] = Tcl_NewDoubleObj(totalMicroSec/count);
}