summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-08-09 22:40:17 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-08-09 22:40:17 +0000
commitde2f88e041fe5cbcea8d5fdf25cb2dde511451a7 (patch)
tree3c9d7ed57b0890404574e09a7949cd87ebf9a0c7 /gnu/usr.bin/binutils
parent73146b893ea641ed712f4f36f6a739be4b320393 (diff)
Parse times with strtoll() instead of strtol()
Diffstat (limited to 'gnu/usr.bin/binutils')
-rw-r--r--gnu/usr.bin/binutils/bfd/coff-alpha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/bfd/coff-alpha.c b/gnu/usr.bin/binutils/bfd/coff-alpha.c
index 5c8b2b939c2..88efc7cd4b4 100644
--- a/gnu/usr.bin/binutils/bfd/coff-alpha.c
+++ b/gnu/usr.bin/binutils/bfd/coff-alpha.c
@@ -2189,7 +2189,7 @@ alpha_ecoff_get_elt_at_filepos (archive, filepos)
bim->buffer = buf;
nbfd->mtime_set = TRUE;
- nbfd->mtime = strtol (hdr->ar_date, (char **) NULL, 10);
+ nbfd->mtime = strtoll (hdr->ar_date, (char **) NULL, 10);
nbfd->flags |= BFD_IN_MEMORY;
nbfd->iostream = (PTR) bim;