aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2008-08-27 19:03:42 +0000
committerChong Yidong2008-08-27 19:03:42 +0000
commitff8ddc7b318ba1c33147ddbb094cf832ebf4fa1d (patch)
treeed3b3b6f8c0b92a51d90848d2a20129ba249a3ce /src
parentb9fb8cf010d02c7fe120f9bd16c9f2f5200e9995 (diff)
downloademacs-ff8ddc7b318ba1c33147ddbb094cf832ebf4fa1d.tar.gz
emacs-ff8ddc7b318ba1c33147ddbb094cf832ebf4fa1d.zip
(Ffile_attributes): Avoid compiler warning in bitshift.
Diffstat (limited to 'src')
-rw-r--r--src/dired.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dired.c b/src/dired.c
index be654670e9d..143e9477603 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -999,8 +999,10 @@ which see. */)
999 else 999 else
1000 { 1000 {
1001 /* To allow inode numbers beyond 32 bits, separate into 2 24-bit 1001 /* To allow inode numbers beyond 32 bits, separate into 2 24-bit
1002 high parts and a 16-bit bottom part. */ 1002 high parts and a 16-bit bottom part.
1003 EMACS_INT high_ino = s.st_ino >> 32; 1003 The code on the next line avoids a compiler warning on some
1004 systems (bug#766). */
1005 EMACS_INT high_ino = s.st_ino >> 31 >> 1;
1004 EMACS_INT low_ino = s.st_ino & 0xffffffff; 1006 EMACS_INT low_ino = s.st_ino & 0xffffffff;
1005 1007
1006 values[10] = Fcons (make_number (high_ino >> 8), 1008 values[10] = Fcons (make_number (high_ino >> 8),