From: guenther Date: Sat, 9 Aug 2014 22:40:16 +0000 (+0000) Subject: Parse times with strtoll() instead of strtol() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e8d074b5c25c1f4088b6258851d3e093c34cea4d;p=openbsd Parse times with strtoll() instead of strtol() --- diff --git a/gnu/usr.bin/binutils-2.17/bfd/coff-alpha.c b/gnu/usr.bin/binutils-2.17/bfd/coff-alpha.c index d9b890502d3..7c14203d546 100644 --- a/gnu/usr.bin/binutils-2.17/bfd/coff-alpha.c +++ b/gnu/usr.bin/binutils-2.17/bfd/coff-alpha.c @@ -2204,7 +2204,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; 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;