summaryrefslogtreecommitdiffstats
path: root/macosx/tclMacOSXFCmd.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-20 13:49:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-20 13:49:02 (GMT)
commit7d7ef84838ff5db5de2069e8f5aa8fa1ae79ce6b (patch)
tree41badbabc8140d865699b5f639cd4c53edbe3851 /macosx/tclMacOSXFCmd.c
parent3ba2524ad4dcbada77fd5079cb69007cdea2a5e9 (diff)
parent6d093a49bdc100e9422cbde3980c3136f5989922 (diff)
downloadtcl-7d7ef84838ff5db5de2069e8f5aa8fa1ae79ce6b.zip
tcl-7d7ef84838ff5db5de2069e8f5aa8fa1ae79ce6b.tar.gz
tcl-7d7ef84838ff5db5de2069e8f5aa8fa1ae79ce6b.tar.bz2
Few more spacing/formatting tweaks
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 e7effd0..15b4fcd 100644
--- a/macosx/tclMacOSXFCmd.c
+++ b/macosx/tclMacOSXFCmd.c
@@ -204,7 +204,7 @@ TclMacOSXGetFileAttribute(
#else
Tcl_SetObjResult(interp, Tcl_NewStringObj(
"Mac OS X file attributes not supported", TCL_INDEX_NONE));
- Tcl_SetErrorCode(interp, "TCL", "UNSUPPORTED", (void *)NULL);
+ Tcl_SetErrorCode(interp, "TCL", "UNSUPPORTED", (char *)NULL);
return TCL_ERROR;
#endif /* HAVE_GETATTRLIST */
}
@@ -336,7 +336,7 @@ TclMacOSXSetFileAttribute(
if (newRsrcForkSize != 0) {
Tcl_SetObjResult(interp, Tcl_NewStringObj(
"setting nonzero rsrclength not supported", TCL_INDEX_NONE));
- Tcl_SetErrorCode(interp, "TCL", "UNSUPPORTED", (void *)NULL);
+ Tcl_SetErrorCode(interp, "TCL", "UNSUPPORTED", (char *)NULL);
return TCL_ERROR;
}
@@ -377,7 +377,7 @@ TclMacOSXSetFileAttribute(
#else
Tcl_SetObjResult(interp, Tcl_NewStringObj(
"Mac OS X file attributes not supported", TCL_INDEX_NONE));
- Tcl_SetErrorCode(interp, "TCL", "UNSUPPORTED", (void *)NULL);
+ Tcl_SetErrorCode(interp, "TCL", "UNSUPPORTED", (char *)NULL);
return TCL_ERROR;
#endif
}
@@ -649,7 +649,7 @@ SetOSTypeFromAny(
if (interp) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"expected Macintosh OS type but got \"%s\": ", string));
- Tcl_SetErrorCode(interp, "TCL", "VALUE", "MAC_OSTYPE", (void *)NULL);
+ Tcl_SetErrorCode(interp, "TCL", "VALUE", "MAC_OSTYPE", (char *)NULL);
}
result = TCL_ERROR;
} else {