summaryrefslogtreecommitdiffstats
path: root/generic/tclProc.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-26 16:31:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-26 16:31:27 (GMT)
commit2e662a41f847d11e66cf134715874e1591322217 (patch)
treea2e6357521552e0fc9f322e4290940254aece001 /generic/tclProc.c
parent62ffe13d71457f5dfced7b9f3f42808c3bf7ed7d (diff)
downloadtcl-2e662a41f847d11e66cf134715874e1591322217.zip
tcl-2e662a41f847d11e66cf134715874e1591322217.tar.gz
tcl-2e662a41f847d11e66cf134715874e1591322217.tar.bz2
Don't use TCL_SIZE_MODIFIER "u", since Tcl_Size can be negative
Diffstat (limited to 'generic/tclProc.c')
-rw-r--r--generic/tclProc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c
index adb69ba..4ea10ad 100644
--- a/generic/tclProc.c
+++ b/generic/tclProc.c
@@ -493,8 +493,8 @@ TclCreateProc(
if (precompiled) {
if (numArgs > procPtr->numArgs) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
- "procedure \"%s\": arg list contains %" TCL_SIZE_MODIFIER "u entries, "
- "precompiled header expects %" TCL_SIZE_MODIFIER "u", procName, numArgs,
+ "procedure \"%s\": arg list contains %" TCL_SIZE_MODIFIER "d entries, "
+ "precompiled header expects %" TCL_SIZE_MODIFIER "d", procName, numArgs,
procPtr->numArgs));
Tcl_SetErrorCode(interp, "TCL", "OPERATION", "PROC",
"BYTECODELIES", (void *)NULL);
@@ -588,7 +588,7 @@ TclCreateProc(
|| (localPtr->defValuePtr == NULL && fieldCount == 2)
|| (localPtr->defValuePtr != NULL && fieldCount != 2)) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
- "procedure \"%s\": formal parameter %" TCL_SIZE_MODIFIER "u is "
+ "procedure \"%s\": formal parameter %" TCL_SIZE_MODIFIER "d is "
"inconsistent with precompiled body", procName, i));
Tcl_SetErrorCode(interp, "TCL", "OPERATION", "PROC",
"BYTECODELIES", (void *)NULL);
@@ -2277,7 +2277,7 @@ TclUpdateReturnInfo(
*
* TclGetObjInterpProc --
*
- * Returns a pointer to the TclObjInterpProc functions;
+ * Returns a pointer to the TclObjInterpProc function;
* this is different from the value obtained from the TclObjInterpProc
* reference on systems like Windows where import and export versions
* of a function exported by a DLL exist.