summaryrefslogtreecommitdiffstats
path: root/generic/tkConsole.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2025-10-31 19:28:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2025-10-31 19:28:42 (GMT)
commitc25f14940d3c7823cae0a783f34c6f147518a1b3 (patch)
treed598543193e4ffbb2336840441fd696a854ab6cc /generic/tkConsole.c
parent3d21e16ae679d4c1ae0b73441536c7429a72657d (diff)
parent2f48a0563a693aeccaf7550989d0539a3c940d95 (diff)
downloadtk-core-tk-print-fixes.zip
tk-core-tk-print-fixes.tar.gz
tk-core-tk-print-fixes.tar.bz2
Diffstat (limited to 'generic/tkConsole.c')
-rw-r--r--generic/tkConsole.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkConsole.c b/generic/tkConsole.c
index 6768dac..4e268d3 100644
--- a/generic/tkConsole.c
+++ b/generic/tkConsole.c
@@ -759,7 +759,7 @@ ConsoleObjCmd(
} else {
Tcl_SetObjResult(interp, Tcl_NewStringObj(
"no active console interp", TCL_INDEX_NONE));
- Tcl_SetErrorCode(interp, "TK", "CONSOLE", "NONE", NULL);
+ Tcl_SetErrorCode(interp, "TK", "CONSOLE", "NONE", (char *)NULL);
result = TCL_ERROR;
}
Tcl_DecrRefCount(cmd);
@@ -810,7 +810,7 @@ InterpreterObjCmd(
if ((otherInterp == NULL) || Tcl_InterpDeleted(otherInterp)) {
Tcl_SetObjResult(interp, Tcl_NewStringObj(
"no active parent interp", TCL_INDEX_NONE));
- Tcl_SetErrorCode(interp, "TK", "CONSOLE", "NO_INTERP", NULL);
+ Tcl_SetErrorCode(interp, "TK", "CONSOLE", "NO_INTERP", (char *)NULL);
return TCL_ERROR;
}