summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-11 13:15:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-11 13:15:02 (GMT)
commitecdeff293a5b31cd00d928ecef9753e802c0b1db (patch)
tree59ae004fee9c0ed91fd244d4c6534c647db748d8 /generic/tclCompile.c
parent5221941a2ae530e1ff5b8ddb3c6558933d962c0c (diff)
parent2943a2ce12be16a91b9d90058cc0ea8ec707e5e2 (diff)
downloadtcl-ecdeff293a5b31cd00d928ecef9753e802c0b1db.zip
tcl-ecdeff293a5b31cd00d928ecef9753e802c0b1db.tar.gz
tcl-ecdeff293a5b31cd00d928ecef9753e802c0b1db.tar.bz2
Merge 8.6. Use Tcl_NewBooleanObj for booleans; we should say what we mean
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index 7ca9e77..3e77231 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.c
@@ -2178,7 +2178,7 @@ TclCompileScript(
if (iPtr->numLevels / 5 > iPtr->maxNestingDepth / 4) {
Tcl_SetObjResult(interp, Tcl_NewStringObj(
"too many nested compilations (infinite loop?)", -1));
- Tcl_SetErrorCode(interp, "TCL", "LIMIT", "STACK", (void *)NULL);
+ Tcl_SetErrorCode(interp, "TCL", "LIMIT", "STACK", (char *)NULL);
TclCompileSyntaxError(interp, envPtr);
return;
}