summaryrefslogtreecommitdiffstats
path: root/generic/tclTestObj.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-29 12:26:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-29 12:26:28 (GMT)
commitdd1acb8d658db84da92a9b84423647af3cf9d393 (patch)
treefc0726dc919db2f8dae2d065f6d2f474ce5c2fc7 /generic/tclTestObj.c
parentae7596981b5ab765b719669484e20778617334ec (diff)
parenta435d9e14b141cab29412f38348c5b016c7672ba (diff)
downloadtcl-dd1acb8d658db84da92a9b84423647af3cf9d393.zip
tcl-dd1acb8d658db84da92a9b84423647af3cf9d393.tar.gz
tcl-dd1acb8d658db84da92a9b84423647af3cf9d393.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclTestObj.c')
-rw-r--r--generic/tclTestObj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclTestObj.c b/generic/tclTestObj.c
index dfe4fd7..d4eeb82 100644
--- a/generic/tclTestObj.c
+++ b/generic/tclTestObj.c
@@ -1102,7 +1102,7 @@ TestobjCmd(
if (CheckIfVarUnset(interp, varPtr,varIndex)) {
return TCL_ERROR;
}
- Tcl_SetObjResult(interp, Tcl_NewLongObj(varPtr[varIndex]->refCount));
+ Tcl_SetObjResult(interp, Tcl_NewWideIntObj(varPtr[varIndex]->refCount));
} else if (strcmp(subCmd, "type") == 0) {
if (objc != 3) {
goto wrongNumArgs;