* archive.c (_bfd_archive_bsd_update_armap_timestamp): Cast stat
st_mtime to long before comparison.
This commit is contained in:
parent
6eb7ee032e
commit
ae38509c56
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-08-09 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
|
* archive.c (_bfd_archive_bsd_update_armap_timestamp): Cast stat
|
||||||
|
st_mtime to long before comparison.
|
||||||
|
|
||||||
2008-08-08 Anatoly Sokolov <aesok@post.ru>
|
2008-08-08 Anatoly Sokolov <aesok@post.ru>
|
||||||
|
|
||||||
* archures.c (bfd_mach_avr25, bfd_mach_avr31, bfd_mach_avr35,
|
* archures.c (bfd_mach_avr25, bfd_mach_avr31, bfd_mach_avr35,
|
||||||
|
|
|
@ -2311,7 +2311,7 @@ _bfd_archive_bsd_update_armap_timestamp (bfd *arch)
|
||||||
/* Can't read mod time for some reason. */
|
/* Can't read mod time for some reason. */
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
if (archstat.st_mtime <= bfd_ardata (arch)->armap_timestamp)
|
if (((long) archstat.st_mtime) <= bfd_ardata (arch)->armap_timestamp)
|
||||||
/* OK by the linker's rules. */
|
/* OK by the linker's rules. */
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue