Mercurial > emacs
comparison src/dired.c @ 18666:e97df3d7af25
(Ffile_attributes): Use cast to avoid warnings.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 07 Jul 1997 19:00:51 +0000 |
parents | bc2cf7c40435 |
children | 902043a3c18a |
comparison
equal
deleted
inserted
replaced
18665:6d7b8b35d878 | 18666:e97df3d7af25 |
---|---|
683 values[9] = (s.st_gid != getegid ()) ? Qt : Qnil; | 683 values[9] = (s.st_gid != getegid ()) ? Qt : Qnil; |
684 #endif /* BSD4_2 (or BSD4_3) */ | 684 #endif /* BSD4_2 (or BSD4_3) */ |
685 #ifdef BSD4_3 | 685 #ifdef BSD4_3 |
686 #undef BSD4_2 /* ok, you can look again without throwing up */ | 686 #undef BSD4_2 /* ok, you can look again without throwing up */ |
687 #endif | 687 #endif |
688 if (s.st_ino & ((-1) << VALBITS)) | 688 /* Cast -1 to avoid warning if int is not as wide as VALBITS. */ |
689 if (s.st_ino & (((EMACS_INT) (-1)) << VALBITS)) | |
689 /* To allow inode numbers larger than VALBITS, separate the bottom | 690 /* To allow inode numbers larger than VALBITS, separate the bottom |
690 16 bits. */ | 691 16 bits. */ |
691 values[10] = Fcons (make_number (s.st_ino >> 16), | 692 values[10] = Fcons (make_number (s.st_ino >> 16), |
692 make_number (s.st_ino & 0xffff)); | 693 make_number (s.st_ino & 0xffff)); |
693 else | 694 else |