summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmds.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-02-01 20:36:01 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-02-01 20:36:01 (GMT)
commiteee14742522aed25744851879c80a96134de7369 (patch)
tree5650ddb981ce76c5b4348123db6def9c4be1aa68 /generic/tclCompCmds.c
parenta6ecb97fa5846d7930c9649f008c490d06e8b054 (diff)
parent3106f9a6955f9df9de5df5879319b6e4393ab702 (diff)
downloadtcl-eee14742522aed25744851879c80a96134de7369.zip
tcl-eee14742522aed25744851879c80a96134de7369.tar.gz
tcl-eee14742522aed25744851879c80a96134de7369.tar.bz2
Another (big) round of int -> size_t enhancements. So Tcl can handle string >2GiB in more places.
Diffstat (limited to 'generic/tclCompCmds.c')
-rw-r--r--generic/tclCompCmds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c
index 810b26e..22faa16 100644
--- a/generic/tclCompCmds.c
+++ b/generic/tclCompCmds.c
@@ -3185,7 +3185,7 @@ TclCompileFormatCmd(
* the format is broken). Do the format now.
*/
- tmpObj = Tcl_Format(interp, Tcl_GetString(formatObj),
+ tmpObj = Tcl_Format(interp, TclGetString(formatObj),
parsePtr->numWords-2, objv);
for (; --i>=0 ;) {
Tcl_DecrRefCount(objv[i]);
@@ -3229,7 +3229,7 @@ TclCompileFormatCmd(
* Now scan through and check for non-%s and non-%% substitutions.
*/
- for (bytes = Tcl_GetString(formatObj) ; *bytes ; bytes++) {
+ for (bytes = TclGetString(formatObj) ; *bytes ; bytes++) {
if (*bytes == '%') {
bytes++;
if (*bytes == 's') {
@@ -3262,7 +3262,7 @@ TclCompileFormatCmd(
i = 0; /* The count of things to concat. */
j = 2; /* The index into the argument tokens, for
* TIP#280 handling. */
- start = Tcl_GetString(formatObj);
+ start = TclGetString(formatObj);
/* The start of the currently-scanned literal
* in the format string. */
tmpObj = Tcl_NewObj(); /* The buffer used to accumulate the literal