emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/dired.c,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/src/dired.c,v
Date: Wed, 27 Aug 2008 19:03:42 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/08/27 19:03:42

Index: dired.c
===================================================================
RCS file: /sources/emacs/emacs/src/dired.c,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -b -r1.154 -r1.155
--- dired.c     15 Aug 2008 20:17:12 -0000      1.154
+++ dired.c     27 Aug 2008 19:03:42 -0000      1.155
@@ -999,8 +999,10 @@
   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),




reply via email to

[Prev in Thread] Current Thread [Next in Thread]