summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1998-03-09 04:29:00 +0000
committerJohn Birrell <jb@FreeBSD.org>1998-03-09 04:29:00 +0000
commit84d6500535a3d7d272ae6379908a34691b174db5 (patch)
tree3b3e68d3093cadc06f2e65923b4ac9fdfc042d06
parentdf320ec9d3c7219f13626087b753731afc987a4d (diff)
Notes
-rw-r--r--lib/libc/gen/opendir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/opendir.c b/lib/libc/gen/opendir.c
index 119791fb4e59..73da108a991e 100644
--- a/lib/libc/gen/opendir.c
+++ b/lib/libc/gen/opendir.c
@@ -191,7 +191,7 @@ __opendir2(name, flags)
struct dirent *dp;
dp = (struct dirent *) ddptr;
- if ((int)dp & 03)
+ if ((long)dp & 03L)
break;
if ((dp->d_reclen <= 0) ||
(dp->d_reclen > (ddeptr + 1 - ddptr)))