summaryrefslogtreecommitdiffstats
path: root/win/tclWinTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-11 10:25:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-11 10:25:04 (GMT)
commit8085eb88ab1525a1b91106d59723e8c3fecdf9f8 (patch)
tree40ab2efb7dd8b8b9f46d3e9a0b4ca526ac10b1bd /win/tclWinTest.c
parentc09aee52fbaeb3d3323d506b2ed648d06c21954f (diff)
downloadtcl-8085eb88ab1525a1b91106d59723e8c3fecdf9f8.zip
tcl-8085eb88ab1525a1b91106d59723e8c3fecdf9f8.tar.gz
tcl-8085eb88ab1525a1b91106d59723e8c3fecdf9f8.tar.bz2
more Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj conversions
Diffstat (limited to 'win/tclWinTest.c')
-rw-r--r--win/tclWinTest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tclWinTest.c b/win/tclWinTest.c
index e046bd3..17b76b8 100644
--- a/win/tclWinTest.c
+++ b/win/tclWinTest.c
@@ -277,11 +277,11 @@ TestwinclockCmd(
result = Tcl_NewObj();
Tcl_ListObjAppendElement(interp, result,
- Tcl_NewIntObj((int) (t2.QuadPart / 10000000)));
+ Tcl_NewLongObj((int) (t2.QuadPart / 10000000)));
Tcl_ListObjAppendElement(interp, result,
- Tcl_NewIntObj((int) ((t2.QuadPart / 10) % 1000000)));
- Tcl_ListObjAppendElement(interp, result, Tcl_NewIntObj(tclTime.sec));
- Tcl_ListObjAppendElement(interp, result, Tcl_NewIntObj(tclTime.usec));
+ Tcl_NewLongObj((int) ((t2.QuadPart / 10) % 1000000)));
+ Tcl_ListObjAppendElement(interp, result, Tcl_NewLongObj(tclTime.sec));
+ Tcl_ListObjAppendElement(interp, result, Tcl_NewLongObj(tclTime.usec));
Tcl_ListObjAppendElement(interp, result, Tcl_NewWideIntObj(p1.QuadPart));
Tcl_ListObjAppendElement(interp, result, Tcl_NewWideIntObj(p2.QuadPart));