diff options
author | Nick Clifton <nickc@redhat.com> | 2007-10-31 17:13:53 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-10-31 17:13:53 +0000 |
commit | 99dcb0b923850488285efc901ab0905ebb0e613c (patch) | |
tree | 075fb2960a715e105392a5cc05fc74688e43aa41 | |
parent | 41e9264106c8d962e94b0ac1f7e600cdfe358023 (diff) | |
download | gdb-99dcb0b923850488285efc901ab0905ebb0e613c.zip gdb-99dcb0b923850488285efc901ab0905ebb0e613c.tar.gz gdb-99dcb0b923850488285efc901ab0905ebb0e613c.tar.bz2 |
Add cast to avoid compile time warning
-rw-r--r-- | binutils/readelf.c | 2 |
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; } |