summaryrefslogtreecommitdiffstats
path: root/generic/tclListObj.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-27 21:04:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-27 21:04:39 (GMT)
commitc871de898a41d7e9c1d7cba05483944546c1ad5d (patch)
treea1a470de893f0f36bb2bf0b879c9e3689876e5a1 /generic/tclListObj.c
parent443213a39ea739848bcbde1cb4f5e8cab42b3bb3 (diff)
parent1f059c4f281d63894b3daf5e67a0b5166ed2e491 (diff)
downloadtcl-c871de898a41d7e9c1d7cba05483944546c1ad5d.zip
tcl-c871de898a41d7e9c1d7cba05483944546c1ad5d.tar.gz
tcl-c871de898a41d7e9c1d7cba05483944546c1ad5d.tar.bz2
Another round of sentinel improvements
Diffstat (limited to 'generic/tclListObj.c')
-rw-r--r--generic/tclListObj.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclListObj.c b/generic/tclListObj.c
index 1060333..262dfc5 100644
--- a/generic/tclListObj.c
+++ b/generic/tclListObj.c
@@ -495,7 +495,7 @@ MemoryAllocationError(
"list construction failed: unable to alloc %" TCL_Z_MODIFIER
"u bytes",
size));
- Tcl_SetErrorCode(interp, "TCL", "MEMORY", (void *)NULL);
+ Tcl_SetErrorCode(interp, "TCL", "MEMORY", (char *)NULL);
}
return TCL_ERROR;
}
@@ -522,7 +522,7 @@ ListLimitExceededError(Tcl_Interp *interp)
Tcl_SetObjResult(
interp,
Tcl_NewStringObj("max length of a Tcl list exceeded", -1));
- Tcl_SetErrorCode(interp, "TCL", "MEMORY", (void *)NULL);
+ Tcl_SetErrorCode(interp, "TCL", "MEMORY", (char *)NULL);
}
return TCL_ERROR;
}
@@ -2953,7 +2953,7 @@ TclLsetFlat(
"VALUE",
"INDEX"
"OUTOFRANGE",
- (void *)NULL);
+ (char *)NULL);
}
result = TCL_ERROR;
break;
@@ -3143,7 +3143,7 @@ TclListObjSetElement(
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"index \"%" TCL_SIZE_MODIFIER "d\" out of range", index));
Tcl_SetErrorCode(interp, "TCL", "VALUE", "INDEX",
- "OUTOFRANGE", (void *)NULL);
+ "OUTOFRANGE", (char *)NULL);
}
return TCL_ERROR;
}