summaryrefslogtreecommitdiffstats
path: root/generic/tclZipfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclZipfs.c')
-rw-r--r--generic/tclZipfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclZipfs.c b/generic/tclZipfs.c
index d902ad8..3b26f78 100644
--- a/generic/tclZipfs.c
+++ b/generic/tclZipfs.c
@@ -56,7 +56,7 @@
if (interp) { \
Tcl_SetObjResult(interp, Tcl_NewStringObj( \
"out of memory", -1)); \
- Tcl_SetErrorCode(interp, "TCL", "MALLOC", (void *)NULL); \
+ Tcl_SetErrorCode(interp, "TCL", "MALLOC", (char *)NULL); \
} \
} while (0)
#define ZIPFS_POSIX_ERROR(interp,errstr) \
@@ -69,7 +69,7 @@
#define ZIPFS_ERROR_CODE(interp,errcode) \
do { \
if (interp) { \
- Tcl_SetErrorCode(interp, "TCL", "ZIPFS", errcode, (void *)NULL); \
+ Tcl_SetErrorCode(interp, "TCL", "ZIPFS", errcode, (char *)NULL); \
} \
} while (0)
@@ -2362,7 +2362,7 @@ TclZipfs_Mount(
Tcl_SetObjResult(
interp,
Tcl_ObjPrintf("could not normalize zip filename \"%s\"", zipname));
- Tcl_SetErrorCode(interp, "TCL", "OPERATION", "NORMALIZE", (void *)NULL);
+ Tcl_SetErrorCode(interp, "TCL", "OPERATION", "NORMALIZE", (char *)NULL);
ret = TCL_ERROR;
} else {
Tcl_IncrRefCount(normZipPathObj);