summaryrefslogtreecommitdiffstats
path: root/generic/tclTest.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2017-03-29 14:35:44 (GMT)
committerdgp <dgp@users.sourceforge.net>2017-03-29 14:35:44 (GMT)
commitd236581f7b07310302ded4d2992f137466270361 (patch)
treee0a0fb2e4489e3a89687178c1a504b1918bdc164 /generic/tclTest.c
parent555cf46f2a597a964fcbc80825343d8e281956d3 (diff)
parentefbb62b5bda42142f446bb8064d377473801c140 (diff)
downloadtcl-d236581f7b07310302ded4d2992f137466270361.zip
tcl-d236581f7b07310302ded4d2992f137466270361.tar.gz
tcl-d236581f7b07310302ded4d2992f137466270361.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclTest.c')
-rw-r--r--generic/tclTest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c
index 0694782..e87af0f 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -3847,6 +3847,7 @@ TestprintObjCmd(
Tcl_Obj *const objv[]) /* The argument objects. */
{
Tcl_WideInt argv1 = 0;
+ size_t argv2;
if (objc < 2 || objc > 3) {
Tcl_WrongNumArgs(interp, 1, objv, "format wideint");
@@ -3855,7 +3856,8 @@ TestprintObjCmd(
if (objc > 1) {
Tcl_GetWideIntFromObj(interp, objv[2], &argv1);
}
- Tcl_SetObjResult(interp, Tcl_ObjPrintf(Tcl_GetString(objv[1]), argv1));
+ argv2 = (size_t)argv1;
+ Tcl_SetObjResult(interp, Tcl_ObjPrintf(Tcl_GetString(objv[1]), argv1, argv2, argv2));
return TCL_OK;
}