From 99dcb0b923850488285efc901ab0905ebb0e613c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 31 Oct 2007 17:13:53 +0000 Subject: [PATCH] Add cast to avoid compile time warning --- binutils/readelf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binutils/readelf.c b/binutils/readelf.c index b64f7753877..b1357f8550b 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -8277,7 +8277,7 @@ debug_apply_relocations (void *file, { warn (_("skipping unexpected symbol type %s in %ld'th relocation in section %s\n"), get_symbol_type (ELF_ST_TYPE (sym->st_info)), - rp - relocs, + (long int)(rp - relocs), SECTION_NAME (relsec)); continue; } -- 2.30.2