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:
parent
b9fb8cf010
commit
ff8ddc7b31
1 changed files with 4 additions and 2 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue