aboutsummaryrefslogtreecommitdiff
path: root/binutils/od-xcoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/od-xcoff.c')
-rw-r--r--binutils/od-xcoff.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/binutils/od-xcoff.c b/binutils/od-xcoff.c
index e5566bc..7eb0c29 100644
--- a/binutils/od-xcoff.c
+++ b/binutils/od-xcoff.c
@@ -1680,8 +1680,10 @@ dump_dumpx_core (bfd *abfd, struct external_core_dumpx *hdr)
{
if (options[OPT_FILE_HEADER].selected)
{
- printf (" signal: %u\n", bfd_h_get_8 (abfd, hdr->c_signo));
- printf (" flags: 0x%02x\n", bfd_h_get_8 (abfd, hdr->c_flag));
+ printf (" signal: %u\n",
+ (unsigned) bfd_h_get_8 (abfd, hdr->c_signo));
+ printf (" flags: 0x%02x\n",
+ (unsigned) bfd_h_get_8 (abfd, hdr->c_flag));
printf (" entries: %u\n",
(unsigned) bfd_h_get_16 (abfd, hdr->c_entries));
#ifdef BFD64