From e8d074b5c25c1f4088b6258851d3e093c34cea4d Mon Sep 17 00:00:00 2001 From: guenther Date: Sat, 9 Aug 2014 22:40:16 +0000 Subject: [PATCH] Parse times with strtoll() instead of strtol() --- gnu/usr.bin/binutils-2.17/bfd/coff-alpha.c | 2 +- gnu/usr.bin/binutils/bfd/coff-alpha.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1