1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 09:51:22 -08:00

(Ffile_attributes): Avoid compiler warning in bitshift.

This commit is contained in:
Chong Yidong 2008-08-27 19:03:42 +00:00
parent b9fb8cf010
commit ff8ddc7b31

View file

@ -999,8 +999,10 @@ which see. */)
else
{
/* To allow inode numbers beyond 32 bits, separate into 2 24-bit
high parts and a 16-bit bottom part. */
EMACS_INT high_ino = s.st_ino >> 32;
high parts and a 16-bit bottom part.
The code on the next line avoids a compiler warning on some
systems (bug#766). */
EMACS_INT high_ino = s.st_ino >> 31 >> 1;
EMACS_INT low_ino = s.st_ino & 0xffffffff;
values[10] = Fcons (make_number (high_ino >> 8),