summaryrefslogtreecommitdiffstats
path: root/macosx/tclMacOSXFCmd.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-11 10:25:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-11 10:25:04 (GMT)
commit8085eb88ab1525a1b91106d59723e8c3fecdf9f8 (patch)
tree40ab2efb7dd8b8b9f46d3e9a0b4ca526ac10b1bd /macosx/tclMacOSXFCmd.c
parentc09aee52fbaeb3d3323d506b2ed648d06c21954f (diff)
downloadtcl-8085eb88ab1525a1b91106d59723e8c3fecdf9f8.zip
tcl-8085eb88ab1525a1b91106d59723e8c3fecdf9f8.tar.gz
tcl-8085eb88ab1525a1b91106d59723e8c3fecdf9f8.tar.bz2
more Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj conversions
Diffstat (limited to 'macosx/tclMacOSXFCmd.c')
-rw-r--r--macosx/tclMacOSXFCmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tclMacOSXFCmd.c b/macosx/tclMacOSXFCmd.c
index 8ecfd0b..d16f33f 100644
--- a/macosx/tclMacOSXFCmd.c
+++ b/macosx/tclMacOSXFCmd.c
@@ -192,7 +192,7 @@ TclMacOSXGetFileAttribute(
OSSwapBigToHostInt32(finder->type));
break;
case MACOSX_HIDDEN_ATTRIBUTE:
- *attributePtrPtr = Tcl_NewBooleanObj(
+ *attributePtrPtr = Tcl_NewLongObj(
(finder->fdFlags & kFinfoIsInvisible) != 0);
break;
case MACOSX_RSRCLENGTH_ATTRIBUTE: