summaryrefslogtreecommitdiffstats
path: root/generic/tclTimer.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-04 11:44:49 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-04 11:44:49 (GMT)
commitb2c080e9ae2d44b453f81bae6443f6fffaf6b052 (patch)
tree96c798290148ac7d237058f68a1f177fe222b7b6 /generic/tclTimer.c
parent6e8238944201c02321c9c5fc20a4d95c4f5383c8 (diff)
parenta107ac202e6c6806a0690e555b1141f2d032fb41 (diff)
downloadtcl-b2c080e9ae2d44b453f81bae6443f6fffaf6b052.zip
tcl-b2c080e9ae2d44b453f81bae6443f6fffaf6b052.tar.gz
tcl-b2c080e9ae2d44b453f81bae6443f6fffaf6b052.tar.bz2
Merge 8.6
Diffstat (limited to 'generic/tclTimer.c')
-rw-r--r--generic/tclTimer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclTimer.c b/generic/tclTimer.c
index 954e38f..d921854 100644
--- a/generic/tclTimer.c
+++ b/generic/tclTimer.c
@@ -820,13 +820,13 @@ Tcl_AfterObjCmd(
if (Tcl_GetWideIntFromObj(NULL, objv[1], &ms) != TCL_OK) {
if (Tcl_GetIndexFromObj(NULL, objv[1], afterSubCmds, "", 0, &index)
!= TCL_OK) {
- const char *arg = Tcl_GetString(objv[1]);
+ const char *arg = TclGetString(objv[1]);
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"bad argument \"%s\": must be"
" cancel, idle, info, or an integer", arg));
Tcl_SetErrorCode(interp, "TCL", "LOOKUP", "INDEX", "argument",
- arg, (void *)NULL);
+ arg, (char *)NULL);
return TCL_ERROR;
}
}
@@ -965,7 +965,7 @@ Tcl_AfterObjCmd(
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"event \"%s\" doesn't exist", eventStr));
- Tcl_SetErrorCode(interp, "TCL","LOOKUP","EVENT", eventStr, (void *)NULL);
+ Tcl_SetErrorCode(interp, "TCL","LOOKUP","EVENT", eventStr, (char *)NULL);
return TCL_ERROR;
} else {
Tcl_Obj *resultListPtr;