diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-10-22 19:49:24 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-10-22 19:49:24 (GMT) |
commit | 2d34656de08ad9831a1d29466ceeb4f532aa3b3f (patch) | |
tree | 79877611c46c7ae73404a4e0b3ae8fb742e22d88 /generic/tclCompile.c | |
parent | e2f18cc3427c2a6e2d2a52039c7e6187188616d5 (diff) | |
download | tcl-2d34656de08ad9831a1d29466ceeb4f532aa3b3f.zip tcl-2d34656de08ad9831a1d29466ceeb4f532aa3b3f.tar.gz tcl-2d34656de08ad9831a1d29466ceeb4f532aa3b3f.tar.bz2 |
Remaining fixes for [26870862f0]: Wrong sentinel in Tcl_SetErrorCode usage
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r-- | generic/tclCompile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c index 5ff0c18..e93fd4a 100644 --- a/generic/tclCompile.c +++ b/generic/tclCompile.c @@ -2197,7 +2197,7 @@ TclCompileScript( Tcl_ObjPrintf("Script length %" TCL_SIZE_MODIFIER "d exceeds max permitted length %d.", numBytes, INT_MAX-1)); - Tcl_SetErrorCode(interp, "TCL", "LIMIT", "SCRIPTLENGTH", NULL); + Tcl_SetErrorCode(interp, "TCL", "LIMIT", "SCRIPTLENGTH", (void *)NULL); TclCompileSyntaxError(interp, envPtr); return; } |