aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/dirwstat.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-11-25 02:36:46 +0000
committerrsc <devnull@localhost>2003-11-25 02:36:46 +0000
commit3765283ccfb8499b588ea12459990ec85e4526a2 (patch)
tree3bb0962cd2d5c15416453e0098d72c6871c49eb0 /src/lib9/dirwstat.c
parent6bb54fab15a423b10840b117d7f4a5d58798c52f (diff)
downloadplan9port-3765283ccfb8499b588ea12459990ec85e4526a2.tar.gz
plan9port-3765283ccfb8499b588ea12459990ec85e4526a2.tar.bz2
plan9port-3765283ccfb8499b588ea12459990ec85e4526a2.zip
Silence some Mac OS X warnings.
Diffstat (limited to 'src/lib9/dirwstat.c')
-rw-r--r--src/lib9/dirwstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib9/dirwstat.c b/src/lib9/dirwstat.c
index 6f351965..396158dc 100644
--- a/src/lib9/dirwstat.c
+++ b/src/lib9/dirwstat.c
@@ -10,7 +10,7 @@ dirwstat(char *file, Dir *dir)
struct utimbuf ub;
/* BUG handle more */
- if(dir->mtime == ~0ULL)
+ if(~dir->mtime == 0)
return 0;
ub.actime = dir->mtime;