diff options
| author | Richard M. Stallman | 1997-07-07 19:00:51 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-07-07 19:00:51 +0000 |
| commit | ce4200f6793e0d8b03f5b964ac91565dcee920e8 (patch) | |
| tree | d5eeb42220cd0265b6cd125d8bce446184f64c30 /src | |
| parent | 4b104c4137b187b36513da3b4f7b3264bc06a9d3 (diff) | |
| download | emacs-ce4200f6793e0d8b03f5b964ac91565dcee920e8.tar.gz emacs-ce4200f6793e0d8b03f5b964ac91565dcee920e8.zip | |
(Ffile_attributes): Use cast to avoid warnings.
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), |