Add cast to avoid compile time warning
authorNick Clifton <nickc@redhat.com>
Wed, 31 Oct 2007 17:13:53 +0000 (17:13 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 31 Oct 2007 17:13:53 +0000 (17:13 +0000)
binutils/readelf.c

index b64f775..b1357f8 100644 (file)
@@ -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;
            }