diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/opendir.c | 2 |
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))) |