diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/dired.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dired.c b/src/dired.c index ea0624dd535..7fc39dcd722 100644 --- a/src/dired.c +++ b/src/dired.c | |||
| @@ -685,7 +685,8 @@ If file does not exist, returns nil.") | |||
| 685 | #ifdef BSD4_3 | 685 | #ifdef BSD4_3 |
| 686 | #undef BSD4_2 /* ok, you can look again without throwing up */ | 686 | #undef BSD4_2 /* ok, you can look again without throwing up */ |
| 687 | #endif | 687 | #endif |
| 688 | if (s.st_ino & ((-1) << VALBITS)) | 688 | /* Cast -1 to avoid warning if int is not as wide as VALBITS. */ |
| 689 | if (s.st_ino & (((EMACS_INT) (-1)) << VALBITS)) | ||
| 689 | /* To allow inode numbers larger than VALBITS, separate the bottom | 690 | /* To allow inode numbers larger than VALBITS, separate the bottom |
| 690 | 16 bits. */ | 691 | 16 bits. */ |
| 691 | values[10] = Fcons (make_number (s.st_ino >> 16), | 692 | values[10] = Fcons (make_number (s.st_ino >> 16), |