summaryrefslogtreecommitdiffstats
path: root/win/tclWinFCmd.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 /win/tclWinFCmd.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 'win/tclWinFCmd.c')
-rw-r--r--win/tclWinFCmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinFCmd.c b/win/tclWinFCmd.c
index ac88861..db5ed9e 100644
--- a/win/tclWinFCmd.c
+++ b/win/tclWinFCmd.c
@@ -1607,7 +1607,7 @@ GetWinFileAttributes(
}
}
- *attributePtrPtr = Tcl_NewBooleanObj(attr);
+ *attributePtrPtr = Tcl_NewLongObj(attr!=0);
return TCL_OK;
}