diff options
Diffstat (limited to 'bfd/elf32-sh-symbian.c')
-rw-r--r-- | bfd/elf32-sh-symbian.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-sh-symbian.c b/bfd/elf32-sh-symbian.c index 549da3a605..8b15606dde 100644 --- a/bfd/elf32-sh-symbian.c +++ b/bfd/elf32-sh-symbian.c @@ -374,8 +374,8 @@ sh_symbian_process_embedded_commands (struct bfd_link_info *info, bfd * abfd, if (! result) { if (DEBUG) - fprintf (stderr, "offset into .directive section: %d\n", - directive - (char *) contents); + fprintf (stderr, "offset into .directive section: %ld\n", + (long) (directive - (char *) contents)); bfd_set_error (bfd_error_invalid_operation); _bfd_error_handler (_("%B: Unrecognised .directive command: %s"), |