From 5a2cbcf4ce0f56e5f66aad3cd674f8c8edf428bf Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 7 Nov 2014 13:41:02 -0800 Subject: [PATCH] Cast time value to unsigned long to print * readelf.c (process_dynamic_section): Cast time value to unsigned long to print. --- binutils/ChangeLog | 5 +++++ binutils/readelf.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index b0c6bb2ad5..b1ef9fa951 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 5bd3a4bf01..e13bef1b35 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, -- 2.34.1