aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-10-31 17:13:53 +0000
committerNick Clifton <nickc@redhat.com>2007-10-31 17:13:53 +0000
commit99dcb0b923850488285efc901ab0905ebb0e613c (patch)
tree075fb2960a715e105392a5cc05fc74688e43aa41 /binutils
parent41e9264106c8d962e94b0ac1f7e600cdfe358023 (diff)
downloadgdb-99dcb0b923850488285efc901ab0905ebb0e613c.zip
gdb-99dcb0b923850488285efc901ab0905ebb0e613c.tar.gz
gdb-99dcb0b923850488285efc901ab0905ebb0e613c.tar.bz2
Add cast to avoid compile time warning
Diffstat (limited to 'binutils')
-rw-r--r--binutils/readelf.c2
1 files changed, 1 insertions, 1 deletions
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;
}