summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-26 14:29:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-26 14:29:32 (GMT)
commit2aba734d8e7420ff318971532990115a19dd5f87 (patch)
tree9e62f23fe2183b0458235ab0351dccaeb543af5f /generic
parent6edbdf3817936bfb8f515d5f8c89088d686a926a (diff)
downloadtcl-2aba734d8e7420ff318971532990115a19dd5f87.zip
tcl-2aba734d8e7420ff318971532990115a19dd5f87.tar.gz
tcl-2aba734d8e7420ff318971532990115a19dd5f87.tar.bz2
fix gcc warning signed<->unsigned warning for cygwin
Diffstat (limited to 'generic')
-rw-r--r--generic/tclCmdAH.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCmdAH.c b/generic/tclCmdAH.c
index 02f398d..63d9111 100644
--- a/generic/tclCmdAH.c
+++ b/generic/tclCmdAH.c
@@ -1172,7 +1172,7 @@ Tcl_FileObjCmd(dummy, interp, objc, objv)
* associated with a file, so we always return 1.
*/
-#if (defined(__WIN32__) || defined(MAC_TCL))
+#if defined(__WIN32__) || defined(MAC_TCL) || defined(__CYGWIN__)
value = 1;
#else
value = (geteuid() == buf.st_uid);