summaryrefslogtreecommitdiffstats
path: root/generic/tclVar.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-11 09:38:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-11 09:38:07 (GMT)
commitc09aee52fbaeb3d3323d506b2ed648d06c21954f (patch)
treed4bf85c7822c11af68ee141b079a3e9963cb97b4 /generic/tclVar.c
parentce11fef50dff5048c2dfa81c6639fbb6a65b51e0 (diff)
parent30f60173c4738c76675b58db3a7a5aaa62ca79ea (diff)
downloadtcl-c09aee52fbaeb3d3323d506b2ed648d06c21954f.zip
tcl-c09aee52fbaeb3d3323d506b2ed648d06c21954f.tar.gz
tcl-c09aee52fbaeb3d3323d506b2ed648d06c21954f.tar.bz2
Merge trunk.
Various Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj modifications
Diffstat (limited to 'generic/tclVar.c')
-rw-r--r--generic/tclVar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclVar.c b/generic/tclVar.c
index 1b27273..997e912 100644
--- a/generic/tclVar.c
+++ b/generic/tclVar.c
@@ -2112,7 +2112,7 @@ TclPtrIncrObjVar(
VarHashRefCount(varPtr)--;
}
if (varValuePtr == NULL) {
- varValuePtr = Tcl_NewIntObj(0);
+ varValuePtr = Tcl_NewLongObj(0);
}
if (Tcl_IsShared(varValuePtr)) {
/* Copy on write */
@@ -3953,7 +3953,7 @@ ArraySizeCmd(
}
}
- Tcl_SetObjResult(interp, Tcl_NewIntObj(size));
+ Tcl_SetObjResult(interp, Tcl_NewLongObj(size));
return TCL_OK;
}