From: Nick Clifton Date: Wed, 31 Oct 2007 17:13:53 +0000 (+0000) Subject: Add cast to avoid compile time warning X-Git-Tag: sid-snapshot-20071101~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99dcb0b923850488285efc901ab0905ebb0e613c;p=external%2Fbinutils.git Add cast to avoid compile time warning --- diff --git a/binutils/readelf.c b/binutils/readelf.c index b64f775..b1357f8 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; }