summaryrefslogtreecommitdiffstats
path: root/generic/tclListObj.c
diff options
context:
space:
mode:
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;
}