From: H.J. Lu Date: Fri, 7 Nov 2014 21:41:02 +0000 (-0800) Subject: Cast time value to unsigned long to print X-Git-Tag: hjl/linux/release/2.25.51.0.1~3^2~43^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5a2cbcf4ce0f56e5f66aad3cd674f8c8edf428bf;p=thirdparty%2Fbinutils-gdb.git Cast time value to unsigned long to print * readelf.c (process_dynamic_section): Cast time value to unsigned long to print. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index b0c6bb2ad59..b1ef9fa951b 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2014-11-07 H.J. Lu + + * readelf.c (process_dynamic_section): Cast time value to unsigned + long to print. + 2014-11-07 Nick Clifton PR binutils/17531 diff --git a/binutils/readelf.c b/binutils/readelf.c index 5bd3a4bf015..e13bef1b35b 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -8880,7 +8880,8 @@ process_dynamic_section (FILE * file) tmp = gmtime (&atime); /* PR 17533 file: 041-1244816-0.004. */ if (tmp == NULL) - printf (_("tm_year + 1900, tmp->tm_mon + 1, tmp->tm_mday,