summaryrefslogtreecommitdiffstats
path: root/macosx/tclMacOSXFCmd.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-17 06:02:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-17 06:02:36 (GMT)
commit6def0d48c1fff35f9f5b3bfbe1ddbe6cedd2c247 (patch)
tree764a634adc0ddab6d9a9456d74fc449175c34275 /macosx/tclMacOSXFCmd.c
parentfdb568c35f1cd6de7f1acd05fdbd4f8b6cf5aee1 (diff)
downloadtcl-6def0d48c1fff35f9f5b3bfbe1ddbe6cedd2c247.zip
tcl-6def0d48c1fff35f9f5b3bfbe1ddbe6cedd2c247.tar.gz
tcl-6def0d48c1fff35f9f5b3bfbe1ddbe6cedd2c247.tar.bz2
Handle sentinels for any C++ compiler
Diffstat (limited to 'macosx/tclMacOSXFCmd.c')
-rw-r--r--macosx/tclMacOSXFCmd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/tclMacOSXFCmd.c b/macosx/tclMacOSXFCmd.c
index 0fbc7a3..eb40b3b 100644
--- a/macosx/tclMacOSXFCmd.c
+++ b/macosx/tclMacOSXFCmd.c
@@ -203,7 +203,7 @@ TclMacOSXGetFileAttribute(
#else
Tcl_SetObjResult(interp, Tcl_NewStringObj(
"Mac OS X file attributes not supported", -1));
- Tcl_SetErrorCode(interp, "TCL", "UNSUPPORTED", NULL);
+ Tcl_SetErrorCode(interp, "TCL", "UNSUPPORTED", (void *)NULL);
return TCL_ERROR;
#endif /* HAVE_GETATTRLIST */
}
@@ -335,7 +335,7 @@ TclMacOSXSetFileAttribute(
if (newRsrcForkSize != 0) {
Tcl_SetObjResult(interp, Tcl_NewStringObj(
"setting nonzero rsrclength not supported", -1));
- Tcl_SetErrorCode(interp, "TCL", "UNSUPPORTED", NULL);
+ Tcl_SetErrorCode(interp, "TCL", "UNSUPPORTED", (void *)NULL);
return TCL_ERROR;
}
@@ -376,7 +376,7 @@ TclMacOSXSetFileAttribute(
#else
Tcl_SetObjResult(interp, Tcl_NewStringObj(
"Mac OS X file attributes not supported", -1));
- Tcl_SetErrorCode(interp, "TCL", "UNSUPPORTED", NULL);
+ Tcl_SetErrorCode(interp, "TCL", "UNSUPPORTED", (void *)NULL);
return TCL_ERROR;
#endif
}
@@ -647,7 +647,7 @@ SetOSTypeFromAny(
if (interp) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"expected Macintosh OS type but got \"%s\": ", string));
- Tcl_SetErrorCode(interp, "TCL", "VALUE", "MAC_OSTYPE", NULL);
+ Tcl_SetErrorCode(interp, "TCL", "VALUE", "MAC_OSTYPE", (void *)NULL);
}
result = TCL_ERROR;
} else {