summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-13 15:45:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-13 15:45:26 (GMT)
commitf70e1f98b3e5235a48e0fbea21515ed7e277e6cd (patch)
tree133785f8752974af168c2051003c99df65306c06 /macosx
parentfe00b6dcf66b299d9ea42fa1f9a7282c6475159c (diff)
parent3fc1392c92078e35e6a35efc90ce598c1c2fc192 (diff)
downloadtcl-f70e1f98b3e5235a48e0fbea21515ed7e277e6cd.zip
tcl-f70e1f98b3e5235a48e0fbea21515ed7e277e6cd.tar.gz
tcl-f70e1f98b3e5235a48e0fbea21515ed7e277e6cd.tar.bz2
Merge 8.6
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tclMacOSXFCmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tclMacOSXFCmd.c b/macosx/tclMacOSXFCmd.c
index 06ad180..52c43e7 100644
--- a/macosx/tclMacOSXFCmd.c
+++ b/macosx/tclMacOSXFCmd.c
@@ -192,11 +192,11 @@ TclMacOSXGetFileAttribute(
OSSwapBigToHostInt32(finder->type));
break;
case MACOSX_HIDDEN_ATTRIBUTE:
- *attributePtrPtr = Tcl_NewWideIntObj(
+ TclNewIntObj(*attributePtrPtr,
(finder->fdFlags & kFinfoIsInvisible) != 0);
break;
case MACOSX_RSRCLENGTH_ATTRIBUTE:
- *attributePtrPtr = Tcl_NewWideIntObj(*rsrcForkSize);
+ TclNewIntObj(*attributePtrPtr, *rsrcForkSize);
break;
}
return TCL_OK;