diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-08-14 07:04:09 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-08-14 07:04:09 (GMT) |
commit | be3995f91a73707ad23aa2454b143f6ee0301005 (patch) | |
tree | 2a7de20e57494b77dec01639bf2a871d9573a514 /macosx | |
parent | e05045246f6a09ad6c214cd7045e431e7c07a9fd (diff) | |
parent | c9376306301e578615cfee52d2121f78cb31a225 (diff) | |
download | tcl-be3995f91a73707ad23aa2454b143f6ee0301005.zip tcl-be3995f91a73707ad23aa2454b143f6ee0301005.tar.gz tcl-be3995f91a73707ad23aa2454b143f6ee0301005.tar.bz2 |
Merge 8.7
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tclMacOSXFCmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tclMacOSXFCmd.c b/macosx/tclMacOSXFCmd.c index 0f40817..9d43c92 100644 --- a/macosx/tclMacOSXFCmd.c +++ b/macosx/tclMacOSXFCmd.c @@ -347,7 +347,7 @@ TclMacOSXSetFileAttribute( Tcl_DStringAppend(&ds, native, -1); Tcl_DStringAppend(&ds, _PATH_RSRCFORKSPEC, -1); - result = truncate(Tcl_DStringValue(&ds), (off_t)0); + result = truncate(Tcl_DStringValue(&ds), 0); if (result != 0) { /* * truncate() on a valid resource fork path may fail with a @@ -690,7 +690,7 @@ SetOSTypeFromAny( static void UpdateStringOfOSType( - register Tcl_Obj *objPtr) /* OSType object whose string rep to + Tcl_Obj *objPtr) /* OSType object whose string rep to * update. */ { const int size = TCL_UTF_MAX * 4; |