diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-05-27 12:52:36 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-05-27 12:52:36 (GMT) |
commit | 74b47fa53fcd38862f781cd161e64c0171c1dda5 (patch) | |
tree | 41a6408cebd940574b712b8580885e0b9fa56e28 /generic/tclUtil.c | |
parent | 17f327920becbb38bca60ea702051b9e3aa05149 (diff) | |
download | tcl-74b47fa53fcd38862f781cd161e64c0171c1dda5.zip tcl-74b47fa53fcd38862f781cd161e64c0171c1dda5.tar.gz tcl-74b47fa53fcd38862f781cd161e64c0171c1dda5.tar.bz2 |
Missing ',' between "INDEX" and "OUTOFRANGE"
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r-- | generic/tclUtil.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c index e2c96a9..c2fa64f 100644 --- a/generic/tclUtil.c +++ b/generic/tclUtil.c @@ -3921,10 +3921,8 @@ TclIndexEncode( rangeerror: if (interp) { - Tcl_SetObjResult( - interp, - Tcl_ObjPrintf("index \"%s\" out of range", TclGetString(objPtr))); - Tcl_SetErrorCode(interp, "TCL", "VALUE", "INDEX", "OUTOFRANGE", (void *)NULL); + Tcl_SetObjResult(interp, Tcl_ObjPrintf("index \"%s\" out of range", TclGetString(objPtr))); + Tcl_SetErrorCode(interp, "TCL", "VALUE", "INDEX", "OUTOFRANGE", (char *)NULL); } return TCL_ERROR; } |