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)
commitae22ee577e1296427b927dda75f49560f6256c60 (patch)
tree41badbabc8140d865699b5f639cd4c53edbe3851 /macosx/tclMacOSXFCmd.c
parenta72c1f969cba896ca61001393f0f7b74fb52e194 (diff)
parenta9b046b5bd7c666a406a17cbb0d86a2842091bac (diff)
downloadtcl-ae22ee577e1296427b927dda75f49560f6256c60.zip
tcl-ae22ee577e1296427b927dda75f49560f6256c60.tar.gz
tcl-ae22ee577e1296427b927dda75f49560f6256c60.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 {