projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b104c4
)
(Ffile_attributes): Use cast to avoid warnings.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 7 Jul 1997 19:00:51 +0000
(19:00 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 7 Jul 1997 19:00:51 +0000
(19:00 +0000)
src/dired.c
patch
|
blob
|
history
diff --git
a/src/dired.c
b/src/dired.c
index ea0624dd535c29b22f37de523ab78c54b3ab3591..7fc39dcd722a3f1cba3da9d580b83a555aa17de7 100644
(file)
--- a/
src/dired.c
+++ b/
src/dired.c
@@
-685,7
+685,8
@@
If file does not exist, returns nil.")
#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),