# HG changeset patch # User Richard M. Stallman # Date 868302051 0 # Node ID e97df3d7af25a0aef910f5ee6dc5ff465a223d7a # Parent 6d7b8b35d878d21f1822d23aa60e81706efe5016 (Ffile_attributes): Use cast to avoid warnings. diff -r 6d7b8b35d878 -r e97df3d7af25 src/dired.c --- a/src/dired.c Mon Jul 07 19:00:25 1997 +0000 +++ b/src/dired.c Mon Jul 07 19:00:51 1997 +0000 @@ -685,7 +685,8 @@ #ifdef BSD4_3 #undef BSD4_2 /* ok, you can look again without throwing up */ #endif - if (s.st_ino & ((-1) << VALBITS)) + /* Cast -1 to avoid warning if int is not as wide as VALBITS. */ + if (s.st_ino & (((EMACS_INT) (-1)) << VALBITS)) /* To allow inode numbers larger than VALBITS, separate the bottom 16 bits. */ values[10] = Fcons (make_number (s.st_ino >> 16),