aboutsummaryrefslogtreecommitdiff
path: root/bfd/ihex.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/ihex.c')
-rw-r--r--bfd/ihex.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/ihex.c b/bfd/ihex.c
index 6b83332..096c19c 100644
--- a/bfd/ihex.c
+++ b/bfd/ihex.c
@@ -827,8 +827,9 @@ ihex_write_object_contents (bfd *abfd)
{
_bfd_error_handler
/* xgettext:c-format */
- (_("%pB: address %#Lx out of range for Intel Hex file"),
- abfd, where);
+ (_("%pB: address %#" PRIx64
+ " out of range for Intel Hex file"),
+ abfd, (uint64_t) where);
bfd_set_error (bfd_error_bad_value);
return FALSE;
}