summaryrefslogtreecommitdiffstats
path: root/generic/tclStringObj.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-04-26 17:16:09 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-04-26 17:16:09 (GMT)
commitf89aa502bd4896167982b9eb78630d0813acf4e0 (patch)
tree2f6156c50cb70f84220f2e3ed15735b2ad2d25a7 /generic/tclStringObj.c
parent7d4614bc789658cc70e887270ed8f686f776d237 (diff)
parent208f8c30a1c20162f7ec27c09afb7818153f254d (diff)
downloadtcl-f89aa502bd4896167982b9eb78630d0813acf4e0.zip
tcl-f89aa502bd4896167982b9eb78630d0813acf4e0.tar.gz
tcl-f89aa502bd4896167982b9eb78630d0813acf4e0.tar.bz2
Merge 9.0
Diffstat (limited to 'generic/tclStringObj.c')
-rw-r--r--generic/tclStringObj.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c
index cad30d7..f5c5049 100644
--- a/generic/tclStringObj.c
+++ b/generic/tclStringObj.c
@@ -1460,7 +1460,7 @@ Tcl_AppendObjToObj(
*/
TclAppendBytesToByteArray(objPtr,
- (Tcl_GetBytesFromObj)(NULL, appendObjPtr, NULL), lengthSrc);
+ Tcl_GetBytesFromObj(NULL, appendObjPtr, (size_t *)NULL), lengthSrc);
return;
}
@@ -2975,7 +2975,7 @@ TclStringRepeat(
done *= 2;
}
TclAppendBytesToByteArray(objResultPtr,
- (Tcl_GetBytesFromObj)(NULL, objResultPtr, NULL),
+ Tcl_GetBytesFromObj(NULL, objResultPtr, (size_t *)NULL),
(count - done) * length);
} else if (unichar) {
/*
@@ -3852,7 +3852,7 @@ TclStringReverse(
if (!inPlace || Tcl_IsShared(objPtr)) {
objPtr = Tcl_NewByteArrayObj(NULL, numBytes);
}
- ReverseBytes((Tcl_GetBytesFromObj)(NULL, objPtr, NULL), from, numBytes);
+ ReverseBytes(Tcl_GetBytesFromObj(NULL, objPtr, (size_t *)NULL), from, numBytes);
return objPtr;
}