summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.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/tclIO.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/tclIO.c')
-rw-r--r--generic/tclIO.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index 8f53bb9..b8897eb 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -1469,7 +1469,7 @@ Tcl_GetChannel(
if (hPtr == NULL) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"can not find channel named \"%s\"", chanName));
- Tcl_SetErrorCode(interp, "TCL", "LOOKUP", "CHANNEL", chanName, (void *)NULL);
+ Tcl_SetErrorCode(interp, "TCL", "LOOKUP", "CHANNEL", chanName, (char *)NULL);
return NULL;
}
@@ -9950,12 +9950,12 @@ CopyData(
if (interp) {
TclNewObj(errObj);
Tcl_AppendStringsToObj(errObj, "error reading \"",
- Tcl_GetChannelName(inChan), "\": ", (void *)NULL);
+ Tcl_GetChannelName(inChan), "\": ", (char *)NULL);
if (msg != NULL) {
Tcl_AppendObjToObj(errObj, msg);
} else {
Tcl_AppendStringsToObj(errObj, Tcl_PosixError(interp),
- (void *)NULL);
+ (char *)NULL);
}
}
if (msg != NULL) {
@@ -10031,12 +10031,12 @@ CopyData(
if (interp) {
TclNewObj(errObj);
Tcl_AppendStringsToObj(errObj, "error writing \"",
- Tcl_GetChannelName(outChan), "\": ", (void *)NULL);
+ Tcl_GetChannelName(outChan), "\": ", (char *)NULL);
if (msg != NULL) {
Tcl_AppendObjToObj(errObj, msg);
} else {
Tcl_AppendStringsToObj(errObj, Tcl_PosixError(interp),
- (void *)NULL);
+ (char *)NULL);
}
}
if (msg != NULL) {