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 150de6d..d9f13d0 100644
--- a/generic/tclListObj.c
+++ b/generic/tclListObj.c
@@ -495,7 +495,7 @@ MemoryAllocationError(
"list construction failed: unable to alloc %" TCL_LL_MODIFIER
"u bytes",
(Tcl_WideInt)size));
- Tcl_SetErrorCode(interp, "TCL", "MEMORY", NULL);
+ Tcl_SetErrorCode(interp, "TCL", "MEMORY", (void *)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", NULL);
+ Tcl_SetErrorCode(interp, "TCL", "MEMORY", (void *)NULL);
}
return TCL_ERROR;
}
@@ -2948,7 +2948,7 @@ TclLsetFlat(
"VALUE",
"INDEX"
"OUTOFRANGE",
- NULL);
+ (void *)NULL);
}
result = TCL_ERROR;
break;
@@ -3138,7 +3138,7 @@ TclListObjSetElement(
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"index \"%" TCL_SIZE_MODIFIER "u\" out of range", index));
Tcl_SetErrorCode(interp, "TCL", "VALUE", "INDEX",
- "OUTOFRANGE", NULL);
+ "OUTOFRANGE", (void *)NULL);
}
return TCL_ERROR;
}